diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-06-21 21:33:56 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-03-26 12:01:58 +0100 |
commit | 62654a8c29b945d00afe9f32e87b44ba0d8b84a2 (patch) | |
tree | 83c14b6dc38acdaa24958f567c24e9160f41e428 /sd | |
parent | c8f81dbb30e89a19bb7a82f8b52cc02b9049e717 (diff) |
pdfium: Share the GfxLink for PDF files.
Partially based on work by Ashod Nakashian, thanks!
Reviewed-on: https://gerrit.libreoffice.org/56265
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Change-Id: Id7e8c4543368b0caf3e459abaff8c53997779c83
Reviewed-on: https://gerrit.libreoffice.org/69625
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/pdf/sdpdffilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/pdf/sdpdffilter.cxx b/sd/source/filter/pdf/sdpdffilter.cxx index a4747456123b..95daaeb479f1 100644 --- a/sd/source/filter/pdf/sdpdffilter.cxx +++ b/sd/source/filter/pdf/sdpdffilter.cxx @@ -128,7 +128,7 @@ bool SdPdfFilter::Import() Graphic aGraphic(aBitmap); aGraphic.setPdfData(pPdfData); aGraphic.setPageNumber(nPageNumber); - aGraphic.SetLink(aGfxLink); + aGraphic.SetSharedLink(pGfxLink); aGraphic.setOriginURL(aFileName); // Create the page and insert the Graphic. |