From ddb881e2cc9d8f5d17ccb133d2e8a1b6203d04c3 Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Sat, 7 Apr 2018 15:22:06 -0400 Subject: svx: support breaking PDFs imported as images Change-Id: I990c2b3c3055fbffddedc407c34beb5824277b38 --- vcl/source/gdi/impgraph.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index 0ad7dcb59b3f..6c727a322f81 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -195,12 +195,12 @@ ImpGraphic::ImpGraphic(const ImpGraphic& rImpGraphic) , mnSizeBytes(rImpGraphic.mnSizeBytes) , mbSwapOut(rImpGraphic.mbSwapOut) , mbDummyContext(rImpGraphic.mbDummyContext) - , mnPageNumber(-1) , maVectorGraphicData(rImpGraphic.maVectorGraphicData) , mpPdfData(rImpGraphic.mpPdfData) , maGraphicExternalLink(rImpGraphic.maGraphicExternalLink) , maLastUsed (std::chrono::high_resolution_clock::now()) , mbPrepared (rImpGraphic.mbPrepared) + , mnPageNumber(-1) { if( rImpGraphic.mpGfxLink ) mpGfxLink = o3tl::make_unique( *rImpGraphic.mpGfxLink ); @@ -224,12 +224,12 @@ ImpGraphic::ImpGraphic(ImpGraphic&& rImpGraphic) , mnSizeBytes(rImpGraphic.mnSizeBytes) , mbSwapOut(rImpGraphic.mbSwapOut) , mbDummyContext(rImpGraphic.mbDummyContext) - , mnPageNumber(-1) , maVectorGraphicData(std::move(rImpGraphic.maVectorGraphicData)) , mpPdfData(std::move(rImpGraphic.mpPdfData)) , maGraphicExternalLink(rImpGraphic.maGraphicExternalLink) , maLastUsed (std::chrono::high_resolution_clock::now()) , mbPrepared (rImpGraphic.mbPrepared) + , mnPageNumber(-1) { rImpGraphic.ImplClear(); rImpGraphic.mbDummyContext = false; -- cgit