summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdpdf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-02 15:33:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-03 09:01:21 +0200
commit4c4a1caf0d4d223ff8479197160d121012c1c1ac (patch)
tree0e72fbbeb37c02f8c33d73675b60f4a5b1cc6138 /svx/source/svdraw/svdpdf.cxx
parent33852fc82b14e5a7a4295b43d2835aa620c1929a (diff)
loplugin:unusedfields
Change-Id: I4abf2df75c54936e02a8a3d8fa26f2b249e69780 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91606 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdpdf.cxx')
-rw-r--r--svx/source/svdraw/svdpdf.cxx5
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);