diff options
author | Jan Holesovsky <kendy@collabora.com> | 2019-03-28 09:07:13 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-03-28 09:07:13 +0100 |
commit | bb4f5258a221dd6c429d94686f1641377d61b951 (patch) | |
tree | 0554255f8ebb945aacf92b074410070dee4a6138 /sd/source/filter | |
parent | a0ac37b9bc45c6016336447ab2ff5a5a251d5bdc (diff) |
Revert "vcl: share GfxLink"
This reverts commit c8f81dbb30e89a19bb7a82f8b52cc02b9049e717.
Diffstat (limited to 'sd/source/filter')
-rw-r--r-- | sd/source/filter/pdf/sdpdffilter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/filter/pdf/sdpdffilter.cxx b/sd/source/filter/pdf/sdpdffilter.cxx index a4747456123b..26d7c70bdd54 100644 --- a/sd/source/filter/pdf/sdpdffilter.cxx +++ b/sd/source/filter/pdf/sdpdffilter.cxx @@ -111,8 +111,7 @@ bool SdPdfFilter::Import() const size_t nGraphicContentSize = aPdfData.getLength(); std::unique_ptr<sal_uInt8[]> pGraphicContent(new sal_uInt8[nGraphicContentSize]); memcpy(pGraphicContent.get(), aPdfData.get(), nGraphicContentSize); - std::shared_ptr<GfxLink> pGfxLink(std::make_shared<GfxLink>( - std::move(pGraphicContent), nGraphicContentSize, GfxLinkType::NativePdf)); + GfxLink aGfxLink(std::move(pGraphicContent), nGraphicContentSize, GfxLinkType::NativePdf); auto pPdfData = std::make_shared<uno::Sequence<sal_Int8>>(aPdfData); mrDocument.CreateFirstPages(); |