summaryrefslogtreecommitdiffstats
path: root/vcl/source/graphic/GraphicID.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/graphic/GraphicID.cxx')
-rw-r--r--vcl/source/graphic/GraphicID.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/graphic/GraphicID.cxx b/vcl/source/graphic/GraphicID.cxx
index a27485da29aa..61cdee3c2ede 100644
--- a/vcl/source/graphic/GraphicID.cxx
+++ b/vcl/source/graphic/GraphicID.cxx
@@ -55,9 +55,7 @@ GraphicID::GraphicID(ImpGraphic const& rGraphic)
{
const BitmapEx aBmpEx(rGraphic.getBitmapEx(GraphicConversionParameters()));
- mnID1 |= (((static_cast<sal_uLong>(aBmpEx.GetTransparentType()) << 8)
- | (aBmpEx.IsAlpha() ? 1 : 0))
- & 0x0fffffff);
+ mnID1 |= aBmpEx.IsAlpha() ? 1 : 0;
mnID2 = aBmpEx.GetSizePixel().Width();
mnID3 = aBmpEx.GetSizePixel().Height();
mnID4 = rGraphic.getChecksum();