~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to krita/plugins/formats/psd/psd_layer_record.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-10-23 21:09:16 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20121023210916-m82w6zxnxhaxz7va
Tags: 1:2.5.90-0ubuntu1
* New upstream alpha release (LP: #1070436)
  - Add libkactivities-dev and libopenimageio-dev to build-depends
  - Add kubuntu_build_calligraactive.diff to build calligraactive by default
  - Add package for calligraauthor and move files that are shared between
    calligrawords and calligraauthor to calligrawords-common
* Document the patches
* Remove numbers from patches so they follow the same naming scheme as
  the rest of our patches.
* calligra-data breaks replaces krita-data (<< 1:2.5.3) (LP: #1071686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
522
522
    return false;
523
523
}
524
524
 
525
 
bool PSDLayerRecord::doGrayscale(KisPaintDeviceSP dev, QIODevice *io)
 
525
bool PSDLayerRecord::doGrayscale(KisPaintDeviceSP /*dev*/, QIODevice */*io*/)
526
526
{
527
527
    return false;
528
528
}
531
531
{
532
532
    quint64 oldPosition = io->pos();
533
533
 
534
 
    int width = right - left;
 
534
    quint64 width = right - left;
535
535
    int channelSize = m_header.channelDepth / 8;
536
536
    int uncompressedLength = width * channelSize;
537
537
 
637
637
    qDebug() << "top" << top << "bottom" << bottom << "left" << left << "right" << right;
638
638
    quint64 oldPosition = io->pos();
639
639
 
640
 
    int width = right - left;
 
640
    quint64 width = right - left;
641
641
    int channelSize = m_header.channelDepth / 8;
642
642
    int uncompressedLength = width * channelSize;
643
643
 
751
751
bool PSDLayerRecord::doLAB(KisPaintDeviceSP dev, QIODevice *io)
752
752
{    quint64 oldPosition = io->pos();
753
753
 
754
 
     int width = right - left;
 
754
     quint64 width = right - left;
755
755
     int channelSize = m_header.channelDepth / 8;
756
756
     int uncompressedLength = width * channelSize;
757
757