From 5272bfb329e828092de0f49bebdf9a8ce2a40c5b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 7 Feb 2015 12:08:18 +0100 Subject: loplugin:deletedspecial Change-Id: Ibfed67bd911579caa19ca2203f60a86a4e6d637c --- include/canvas/base/cachedprimitivebase.hxx | 4 ++-- include/canvas/base/canvasbase.hxx | 4 ++-- include/canvas/base/canvascustomspritehelper.hxx | 4 ++-- include/canvas/base/graphicdevicebase.hxx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'include/canvas/base') diff --git a/include/canvas/base/cachedprimitivebase.hxx b/include/canvas/base/cachedprimitivebase.hxx index 14b427385277..4afc2ce14bc4 100644 --- a/include/canvas/base/cachedprimitivebase.hxx +++ b/include/canvas/base/cachedprimitivebase.hxx @@ -80,8 +80,8 @@ namespace canvas virtual ~CachedPrimitiveBase(); // we're a ref-counted UNO class. _We_ destroy ourselves. private: - CachedPrimitiveBase( const CachedPrimitiveBase& ); - CachedPrimitiveBase& operator=( const CachedPrimitiveBase& ); + CachedPrimitiveBase( const CachedPrimitiveBase& ) SAL_DELETED_FUNCTION; + CachedPrimitiveBase& operator=( const CachedPrimitiveBase& ) SAL_DELETED_FUNCTION; /** Actually perform the requested redraw. diff --git a/include/canvas/base/canvasbase.hxx b/include/canvas/base/canvasbase.hxx index 23d82bf8ad43..9f691e3a722a 100644 --- a/include/canvas/base/canvasbase.hxx +++ b/include/canvas/base/canvasbase.hxx @@ -464,8 +464,8 @@ namespace canvas mutable bool mbSurfaceDirty; private: - CanvasBase( const CanvasBase& ); - CanvasBase& operator=( const CanvasBase& ); + CanvasBase( const CanvasBase& ) SAL_DELETED_FUNCTION; + CanvasBase& operator=( const CanvasBase& ) SAL_DELETED_FUNCTION; }; } diff --git a/include/canvas/base/canvascustomspritehelper.hxx b/include/canvas/base/canvascustomspritehelper.hxx index b43beb9f58af..b77144d8a50c 100644 --- a/include/canvas/base/canvascustomspritehelper.hxx +++ b/include/canvas/base/canvascustomspritehelper.hxx @@ -196,8 +196,8 @@ namespace canvas void visibilityUpdated() const { mbVisibilityDirty=false; } private: - CanvasCustomSpriteHelper( const CanvasCustomSpriteHelper& ); - CanvasCustomSpriteHelper& operator=( const CanvasCustomSpriteHelper& ); + CanvasCustomSpriteHelper( const CanvasCustomSpriteHelper& ) SAL_DELETED_FUNCTION; + CanvasCustomSpriteHelper& operator=( const CanvasCustomSpriteHelper& ) SAL_DELETED_FUNCTION; /** Called to convert an API polygon to a basegfx polygon diff --git a/include/canvas/base/graphicdevicebase.hxx b/include/canvas/base/graphicdevicebase.hxx index 19d34d9883b1..fb5c494f429a 100644 --- a/include/canvas/base/graphicdevicebase.hxx +++ b/include/canvas/base/graphicdevicebase.hxx @@ -373,8 +373,8 @@ namespace canvas bool mbDumpScreenContent; private: - GraphicDeviceBase( const GraphicDeviceBase& ); - GraphicDeviceBase& operator=( const GraphicDeviceBase& ); + GraphicDeviceBase( const GraphicDeviceBase& ) SAL_DELETED_FUNCTION; + GraphicDeviceBase& operator=( const GraphicDeviceBase& ) SAL_DELETED_FUNCTION; }; } -- cgit