summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-03-28 09:07:13 +0100
committerJan Holesovsky <kendy@collabora.com>2019-03-28 09:07:13 +0100
commitbb4f5258a221dd6c429d94686f1641377d61b951 (patch)
tree0554255f8ebb945aacf92b074410070dee4a6138 /vcl/inc
parenta0ac37b9bc45c6016336447ab2ff5a5a251d5bdc (diff)
Revert "vcl: share GfxLink"
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/impgraph.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx
index c462dc2c67ac..1a8563e95db0 100644
--- a/vcl/inc/impgraph.hxx
+++ b/vcl/inc/impgraph.hxx
@@ -45,7 +45,7 @@ private:
std::unique_ptr<Animation> mpAnimation;
std::shared_ptr<GraphicReader> mpContext;
std::shared_ptr<ImpSwapFile> mpSwapFile;
- std::shared_ptr<GfxLink> mpGfxLink;
+ std::unique_ptr<GfxLink> mpGfxLink;
GraphicType meType;
mutable sal_uLong mnSizeBytes;
bool mbSwapOut;
@@ -160,7 +160,7 @@ private:
bool ImplIsSwapOut() const { return mbSwapOut;}
bool ImplIsDummyContext() const { return mbDummyContext; }
- void ImplSetLink( const std::shared_ptr<GfxLink>& );
+ void ImplSetLink( const GfxLink& );
GfxLink ImplGetLink();
bool ImplIsLink() const;