summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-04-07 15:22:06 -0400
committerJan Holesovsky <kendy@collabora.com>2018-06-07 10:45:19 +0200
commitddb881e2cc9d8f5d17ccb133d2e8a1b6203d04c3 (patch)
tree830ce2fe9fa0f3fa615c7654fcdcfb10e963fb26 /sd
parentvcl: svx: preserve the imported PDF page number in Graphic (diff)
downloadcore-ddb881e2cc9d8f5d17ccb133d2e8a1b6203d04c3.tar.gz
core-ddb881e2cc9d8f5d17ccb133d2e8a1b6203d04c3.zip
svx: support breaking PDFs imported as images
Change-Id: I990c2b3c3055fbffddedc407c34beb5824277b38
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/pdf/sdpdffilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/pdf/sdpdffilter.cxx b/sd/source/filter/pdf/sdpdffilter.cxx
index 6d45eb0a953f..a9ccb82633c0 100644
--- a/sd/source/filter/pdf/sdpdffilter.cxx
+++ b/sd/source/filter/pdf/sdpdffilter.cxx
@@ -124,7 +124,7 @@ bool SdPdfFilter::Import()
Graphic aGraphic(aBitmap);
aGraphic.setPdfData(std::make_shared<uno::Sequence<sal_Int8>>(aPdfData));
aGraphic.setPageNumber(nPageNumber);
- aGraphic.SetLink(aGfxLink);
+ aGraphic.SetGfxLink(aGfxLink);
// Create the page and insert the Graphic.
SdPage* pPage = mrDocument.GetSdPage(nPageNumber++, PageKind::Standard);