diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2018-04-02 20:34:11 -0400 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-06-07 10:45:19 +0200 |
commit | eb02d79c19405a39aac0af472116a1b99beb2cc6 (patch) | |
tree | 1e73deb831a97a997c85a2fde3d7a1499f9250f5 /sd | |
parent | 455878f78ef6322f8b7832ddd22b4f64a05d3756 (diff) |
vcl: svx: preserve the imported PDF page number in Graphic
Change-Id: I1bb3fa7d44d5f92df2bb8c4ed4b85ccd984c2617
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/pdf/sdpdffilter.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/filter/pdf/sdpdffilter.cxx b/sd/source/filter/pdf/sdpdffilter.cxx index 51699e7e5cb3..6d45eb0a953f 100644 --- a/sd/source/filter/pdf/sdpdffilter.cxx +++ b/sd/source/filter/pdf/sdpdffilter.cxx @@ -123,6 +123,7 @@ bool SdPdfFilter::Import() // Create the Graphic and link the original PDF stream. Graphic aGraphic(aBitmap); aGraphic.setPdfData(std::make_shared<uno::Sequence<sal_Int8>>(aPdfData)); + aGraphic.setPageNumber(nPageNumber); aGraphic.SetLink(aGfxLink); // Create the page and insert the Graphic. |