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-01 08:59:11 +0200 |
commit | 97aaca9355dda3fcf47888d634c9bd48f3771b95 (patch) | |
tree | e967a4275732db9d98380c25f6f844a334966d84 /sd | |
parent | 6b699d15956faa880784011dfa01b16eef900fe3 (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 c3de6588c874..50b4fb1a6fd2 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(pPdfData); + aGraphic.setPageNumber(nPageNumber); aGraphic.SetLink(aGfxLink); aGraphic.setOriginURL(aFileName); |