* CID 10346: hid unused code; I cannot remember why the

code is not used; maybe it was not implemented completly
  or BePDF could not render it correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39996 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer 2010-12-28 21:44:59 +00:00
parent 737e45854e
commit 9dbc17e4f3

View File

@ -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
}