From 6419c745e5e9802da264250d5e131fb9a3b6e4de Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Fri, 17 Oct 2014 10:06:10 +0200 Subject: Do not check a reference Change-Id: I5baac12f97ea7fa36293844331ca548b7bc2cdfd --- sd/qa/unit/data/xml/fdo64586_0.xml | 4 ++-- sd/qa/unit/data/xml/n758621_0.xml | 4 ++-- sd/qa/unit/data/xml/n758621_1.xml | 4 ++-- sd/qa/unit/data/xml/n819614_0.xml | 2 +- vcl/source/gdi/impgraph.cxx | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sd/qa/unit/data/xml/fdo64586_0.xml b/sd/qa/unit/data/xml/fdo64586_0.xml index a2487832299c..7bbf719b1dc8 100644 --- a/sd/qa/unit/data/xml/fdo64586_0.xml +++ b/sd/qa/unit/data/xml/fdo64586_0.xml @@ -4,7 +4,7 @@ - + @@ -18,7 +18,7 @@ - + diff --git a/sd/qa/unit/data/xml/n758621_0.xml b/sd/qa/unit/data/xml/n758621_0.xml index 754be1d41ed1..288bf98fb239 100644 --- a/sd/qa/unit/data/xml/n758621_0.xml +++ b/sd/qa/unit/data/xml/n758621_0.xml @@ -4,7 +4,7 @@ - + @@ -18,7 +18,7 @@ - + diff --git a/sd/qa/unit/data/xml/n758621_1.xml b/sd/qa/unit/data/xml/n758621_1.xml index 0f71931585bb..a12421146bb9 100644 --- a/sd/qa/unit/data/xml/n758621_1.xml +++ b/sd/qa/unit/data/xml/n758621_1.xml @@ -4,7 +4,7 @@ - + @@ -18,7 +18,7 @@ - + diff --git a/sd/qa/unit/data/xml/n819614_0.xml b/sd/qa/unit/data/xml/n819614_0.xml index aff9c324344c..b7005beb9896 100644 --- a/sd/qa/unit/data/xml/n819614_0.xml +++ b/sd/qa/unit/data/xml/n819614_0.xml @@ -4,7 +4,7 @@ - + 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 ), -- cgit