diff options
Diffstat (limited to 'svx/source/svdraw/svdpdf.cxx')
-rw-r--r-- | svx/source/svdraw/svdpdf.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index c0eb4941d446..c6a11c16d73f 100644 --- a/svx/source/svdraw/svdpdf.cxx +++ b/svx/source/svdraw/svdpdf.cxx @@ -109,8 +109,7 @@ using namespace com::sun::star; ImpSdrPdfImport::ImpSdrPdfImport(SdrModel& rModel, SdrLayerID nLay, const tools::Rectangle& rRect, Graphic const& rGraphic) - : mrGraphic(rGraphic) - , maTmpList() + : maTmpList() , mpVD(VclPtr<VirtualDevice>::Create()) , maScaleRect(rRect) , mnMapScalingOfs(0) @@ -156,7 +155,7 @@ ImpSdrPdfImport::ImpSdrPdfImport(SdrModel& rModel, SdrLayerID nLay, const tools: FPDF_InitLibraryWithConfig(&aConfig); // Load the buffer using pdfium. - auto const& rVectorGraphicData = mrGraphic.getVectorGraphicData(); + auto const& rVectorGraphicData = rGraphic.getVectorGraphicData(); mpPdfDocument = FPDF_LoadMemDocument( rVectorGraphicData->getVectorGraphicDataArray().getConstArray(), rVectorGraphicData->getVectorGraphicDataArrayLength(), /*password=*/nullptr); |