Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 480182
Collapse All | Expand All

(-)qt-everywhere-opensource-src-4.8.5-orig/src/gui/image/qjpeghandler.cpp (-5 / +5 lines)
Lines 160-166 Link Here
160
#if defined(Q_OS_UNIXWARE)
160
#if defined(Q_OS_UNIXWARE)
161
    return B_TRUE;
161
    return B_TRUE;
162
#else
162
#else
163
    return true;
163
    return TRUE;
164
#endif
164
#endif
165
}
165
}
166
166
Lines 492-498 Link Here
492
#if defined(Q_OS_UNIXWARE)
492
#if defined(Q_OS_UNIXWARE)
493
    return B_TRUE;
493
    return B_TRUE;
494
#else
494
#else
495
    return true;
495
    return TRUE;
496
#endif
496
#endif
497
}
497
}
498
498
Lines 588-595 Link Here
588
        jpeg_set_quality(&cinfo, quality, B_TRUE /* limit to baseline-JPEG values */);
588
        jpeg_set_quality(&cinfo, quality, B_TRUE /* limit to baseline-JPEG values */);
589
        jpeg_start_compress(&cinfo, B_TRUE);
589
        jpeg_start_compress(&cinfo, B_TRUE);
590
#else
590
#else
591
        jpeg_set_quality(&cinfo, quality, true /* limit to baseline-JPEG values */);
591
        jpeg_set_quality(&cinfo, quality, TRUE /* limit to baseline-JPEG values */);
592
        jpeg_start_compress(&cinfo, true);
592
        jpeg_start_compress(&cinfo, TRUE);
593
#endif
593
#endif
594
594
595
        row_pointer[0] = new uchar[cinfo.image_width*cinfo.input_components];
595
        row_pointer[0] = new uchar[cinfo.image_width*cinfo.input_components];
Lines 754-760 Link Here
754
    #if defined(Q_OS_UNIXWARE)
754
    #if defined(Q_OS_UNIXWARE)
755
            (void) jpeg_read_header(&info, B_TRUE);
755
            (void) jpeg_read_header(&info, B_TRUE);
756
    #else
756
    #else
757
            (void) jpeg_read_header(&info, true);
757
            (void) jpeg_read_header(&info, TRUE);
758
    #endif
758
    #endif
759
759
760
            int width = 0;
760
            int width = 0;

Return to bug 480182