Kaydet (Commit) ac33904d authored tarafından Caolán McNamara's avatar Caolán McNamara

move these into the member init list

Change-Id: I94a1ea4cb81e2b7383c3e7c56314d08eea754434
üst 011bae55
...@@ -115,6 +115,8 @@ ImpGraphic::ImpGraphic(const ImpGraphic& rImpGraphic) ...@@ -115,6 +115,8 @@ ImpGraphic::ImpGraphic(const ImpGraphic& rImpGraphic)
, mbSwapOut(rImpGraphic.mbSwapOut) , mbSwapOut(rImpGraphic.mbSwapOut)
, mbSwapUnderway(false) , mbSwapUnderway(false)
, mbDummyContext(rImpGraphic.mbDummyContext) , mbDummyContext(rImpGraphic.mbDummyContext)
, maSvgData(rImpGraphic.maSvgData)
, maPdfData(rImpGraphic.maPdfData)
{ {
if( rImpGraphic.mpGfxLink ) if( rImpGraphic.mpGfxLink )
mpGfxLink = o3tl::make_unique<GfxLink>( *rImpGraphic.mpGfxLink ); mpGfxLink = o3tl::make_unique<GfxLink>( *rImpGraphic.mpGfxLink );
...@@ -124,9 +126,6 @@ ImpGraphic::ImpGraphic(const ImpGraphic& rImpGraphic) ...@@ -124,9 +126,6 @@ ImpGraphic::ImpGraphic(const ImpGraphic& rImpGraphic)
mpAnimation = o3tl::make_unique<Animation>( *rImpGraphic.mpAnimation ); mpAnimation = o3tl::make_unique<Animation>( *rImpGraphic.mpAnimation );
maEx = mpAnimation->GetBitmapEx(); maEx = mpAnimation->GetBitmapEx();
} }
maSvgData = rImpGraphic.maSvgData;
maPdfData = rImpGraphic.maPdfData;
} }
ImpGraphic::ImpGraphic( const Bitmap& rBitmap ) : ImpGraphic::ImpGraphic( const Bitmap& rBitmap ) :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment