summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-10-17 10:06:10 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-11-07 10:45:06 +0100
commit6419c745e5e9802da264250d5e131fb9a3b6e4de (patch)
treebf35ec5357791b9de516a780b84f28e1f2ce8462 /vcl
parentccef581c42d2c6fd30a5804657f6d23e001daa66 (diff)
Do not check a reference
Change-Id: I5baac12f97ea7fa36293844331ca548b7bc2cdfd
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/impgraph.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index d48432941f0c..9dc49081b468 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -141,7 +141,7 @@ ImpGraphic::ImpGraphic( const Bitmap& rBitmap ) :
mpContext ( NULL ),
mpSwapFile ( NULL ),
mpGfxLink ( NULL ),
- meType ( !rBitmap ? GRAPHIC_NONE : GRAPHIC_BITMAP ),
+ meType ( GRAPHIC_BITMAP ),
mnDocFilePos ( 0UL ),
mnSizeBytes ( 0UL ),
mnRefCount ( 1UL ),
@@ -156,7 +156,7 @@ ImpGraphic::ImpGraphic( const BitmapEx& rBitmapEx ) :
mpContext ( NULL ),
mpSwapFile ( NULL ),
mpGfxLink ( NULL ),
- meType ( !rBitmapEx ? GRAPHIC_NONE : GRAPHIC_BITMAP ),
+ meType ( GRAPHIC_BITMAP ),
mnDocFilePos ( 0UL ),
mnSizeBytes ( 0UL ),
mnRefCount ( 1UL ),