Kaydet (Commit) 3297ce2a authored tarafından Luboš Luňák's avatar Luboš Luňák

0x80000001 can't fit into (signed) long

As far as I can say, this value and all those negative values
are actually not valid in CGM anyway, but since I do not know
the code, I'm leaving them in, they shouldn't break anything.
üst 0c1a63b1
......@@ -256,7 +256,7 @@ sal_Bool CGMBitmap::ImplGetDimensions( CGMBitmapDescriptor& rDesc )
rDesc.mnScanSize = 0;
switch( rDesc.mnLocalColorPrecision )
{
case 0x80000001 : // monochrome ( bit = 0->backgroundcolor )
case long(0x80000001) : // monochrome ( bit = 0->backgroundcolor )
case 0 : // bit = 1->fillcolor
rDesc.mnDstBitsPerPixel = 1;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment