diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-16 03:24:22 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-16 03:26:57 +0100 |
commit | 3297ce2aa13efc6029983b716cec20ed7befda56 (patch) | |
tree | 2f9069ea1fc6da82055c084858629dee40ea9a63 /filter | |
parent | No need to trim capacity any more; it's allocated to the exact size. (diff) | |
download | core-3297ce2aa13efc6029983b716cec20ed7befda56.tar.gz core-3297ce2aa13efc6029983b716cec20ed7befda56.zip |
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.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/bitmap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/icgm/bitmap.cxx b/filter/source/graphicfilter/icgm/bitmap.cxx index d6144434e0eb..bc8413518d26 100644 --- a/filter/source/graphicfilter/icgm/bitmap.cxx +++ b/filter/source/graphicfilter/icgm/bitmap.cxx @@ -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; |