[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Fri Jan 27 15:34:00 UTC 2017
vcl/source/gdi/impgraph.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit ac33904d05ce40b5998b3f1b66a1454d049781be
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jan 27 15:31:54 2017 +0000
move these into the member init list
Change-Id: I94a1ea4cb81e2b7383c3e7c56314d08eea754434
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index 59d4b38..f96a4b2 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -115,6 +115,8 @@ ImpGraphic::ImpGraphic(const ImpGraphic& rImpGraphic)
, mbSwapOut(rImpGraphic.mbSwapOut)
, mbSwapUnderway(false)
, mbDummyContext(rImpGraphic.mbDummyContext)
+ , maSvgData(rImpGraphic.maSvgData)
+ , maPdfData(rImpGraphic.maPdfData)
{
if( rImpGraphic.mpGfxLink )
mpGfxLink = o3tl::make_unique<GfxLink>( *rImpGraphic.mpGfxLink );
@@ -124,9 +126,6 @@ ImpGraphic::ImpGraphic(const ImpGraphic& rImpGraphic)
mpAnimation = o3tl::make_unique<Animation>( *rImpGraphic.mpAnimation );
maEx = mpAnimation->GetBitmapEx();
}
-
- maSvgData = rImpGraphic.maSvgData;
- maPdfData = rImpGraphic.maPdfData;
}
ImpGraphic::ImpGraphic( const Bitmap& rBitmap ) :
More information about the Libreoffice-commits
mailing list