summaryrefslogtreecommitdiff
path: root/svtools/source/graphic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-12 09:32:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-12 09:38:25 +0100
commite008aebbcf366a64d5870ad3a5df39cac429b81c (patch)
tree96f18c7ae2247532b36a464548e440822f966f34 /svtools/source/graphic
parentaca3f5ef4feae793afa765a56ea0cfc797eb4076 (diff)
cppcheck: noCopyConstructor
Change-Id: Ice596f9d05703c944d12d2c00e2364ca6950d39c
Diffstat (limited to 'svtools/source/graphic')
-rw-r--r--svtools/source/graphic/grfcache.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx
index 3c0dbd3c9016..d34c5b7ba6fd 100644
--- a/svtools/source/graphic/grfcache.cxx
+++ b/svtools/source/graphic/grfcache.cxx
@@ -392,6 +392,10 @@ private:
static bool IsCacheableAsBitmap( const GDIMetaFile& rMtf, OutputDevice* pOut, const Size& rSz );
+ // Copy assignment is forbidden and not implemented.
+ GraphicDisplayCacheEntry (const GraphicDisplayCacheEntry &) SAL_DELETED_FUNCTION;
+ GraphicDisplayCacheEntry & operator= (const GraphicDisplayCacheEntry &) SAL_DELETED_FUNCTION;
+
public:
static sal_uLong GetNeededSize( OutputDevice* pOut, const Point& rPt, const Size& rSz,