From 4c4a1caf0d4d223ff8479197160d121012c1c1ac Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 2 Apr 2020 15:33:34 +0200 Subject: loplugin:unusedfields Change-Id: I4abf2df75c54936e02a8a3d8fa26f2b249e69780 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91606 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/svdraw/svdpdf.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'svx/source/svdraw/svdpdf.cxx') 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::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); -- cgit