diff --git a/src/add-ons/print/drivers/pdf/source/PDFWriter.cpp b/src/add-ons/print/drivers/pdf/source/PDFWriter.cpp index 7b0ba7d347..530090aca0 100644 --- a/src/add-ons/print/drivers/pdf/source/PDFWriter.cpp +++ b/src/add-ons/print/drivers/pdf/source/PDFWriter.cpp @@ -1158,7 +1158,12 @@ uint8 * PDFWriter::CreateSoftMask(BRect src, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) { +#if 1 + // TODO: CreateSoftMask??? + return NULL; +#else static bool errorReported = false; + uint8 *in; uint8 *inRow; int32 x, y; @@ -1169,9 +1174,6 @@ PDFWriter::CreateSoftMask(BRect src, int32 bytesPerRow, int32 pixelFormat, bool alpha; int32 bpp; -// TODO: CreateSoftMask??? - return NULL; - bpp = BytesPerPixel(pixelFormat); if (bpp < 0) return NULL; @@ -1235,6 +1237,7 @@ PDFWriter::CreateSoftMask(BRect src, int32 bytesPerRow, int32 pixelFormat, mask = NULL; } return mask; +#endif }