summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-08-18 21:01:33 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-08-19 09:05:55 +0200
commit1e778cf6fae707480909d76fa4c1c58af7e8c62a (patch)
treec405340d31b0ed2e9909b68ef62b5ddc6534ecaf /sd
parent4e842482274d9ade61c6aa8c3048efdfa8e0ded5 (diff)
vcl, sd: various small cleanups
Change-Id: Ic7ad2e044cc1807b105bcad2daf978224b96f298 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100956 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/pdf/sdpdffilter.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/pdf/sdpdffilter.cxx b/sd/source/filter/pdf/sdpdffilter.cxx
index 7072100eb0cd..07b6cd08ff9f 100644
--- a/sd/source/filter/pdf/sdpdffilter.cxx
+++ b/sd/source/filter/pdf/sdpdffilter.cxx
@@ -64,8 +64,8 @@ bool SdPdfFilter::Import()
for (vcl::PDFGraphicResult const& rPDFGraphicResult : aGraphics)
{
- const Graphic& rGraphic = rPDFGraphicResult.maGraphic;
- const Size& aSizeHMM = rPDFGraphicResult.maSize;
+ const Graphic& rGraphic = rPDFGraphicResult.GetGraphic();
+ const Size& aSizeHMM = rPDFGraphicResult.GetSize();
const sal_Int32 nPageNumber = rGraphic.getPageNumber();
assert(nPageNumber >= 0 && o3tl::make_unsigned(nPageNumber) < aGraphics.size());
@@ -80,7 +80,7 @@ bool SdPdfFilter::Import()
tools::Rectangle(Point(), aSizeHMM));
pPage->InsertObject(pSdrGrafObj);
- for (auto const& rPDFAnnotation : rPDFGraphicResult.maAnnotations)
+ for (auto const& rPDFAnnotation : rPDFGraphicResult.GetAnnotations())
{
uno::Reference<office::XAnnotation> xAnnotation;
pPage->createAnnotation(xAnnotation);