summaryrefslogtreecommitdiff
path: root/vcl/inc/impgraph.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-23 11:27:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-23 12:09:02 +0000
commit7adb5c683ce2ee35bc7e56ae6c9cb59bdd45187d (patch)
treeff8a03fa3ad99189b0b1ca7dc3831f62c82995a4 /vcl/inc/impgraph.hxx
parent04f50946dee164220af1c99cc03b2d7c0a98ea3f (diff)
use std to impl this resource sharing
Change-Id: I41ea7bf672040089ccca5cf2bc449a0d0e78b903 Reviewed-on: https://gerrit.libreoffice.org/29219 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/impgraph.hxx')
-rw-r--r--vcl/inc/impgraph.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx
index cafad4e90101..b7dcee4dd184 100644
--- a/vcl/inc/impgraph.hxx
+++ b/vcl/inc/impgraph.hxx
@@ -46,7 +46,6 @@ private:
std::unique_ptr<GfxLink> mpGfxLink;
GraphicType meType;
mutable sal_uLong mnSizeBytes;
- sal_uLong mnRefCount;
bool mbSwapOut;
bool mbSwapUnderway;
bool mbDummyContext;
@@ -62,7 +61,9 @@ private:
ImpGraphic(const SvgDataPtr& rSvgDataPtr);
ImpGraphic( const Animation& rAnimation );
ImpGraphic( const GDIMetaFile& rMtf );
+public:
virtual ~ImpGraphic();
+private:
ImpGraphic& operator=( const ImpGraphic& rImpGraphic );
bool operator==( const ImpGraphic& rImpGraphic ) const;