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 /vcl/inc | |
parent | a0ac37b9bc45c6016336447ab2ff5a5a251d5bdc (diff) |
Revert "vcl: share GfxLink"
This reverts commit c8f81dbb30e89a19bb7a82f8b52cc02b9049e717.
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/impgraph.hxx | 4 |
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; |