summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:08:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:35:56 +0100
commit5272bfb329e828092de0f49bebdf9a8ce2a40c5b (patch)
treed7f03575692672929a9e5d7e9e1882441d24ce4f
parent2b55846a33cec1cfceb41be6f05978cdeb002e93 (diff)
loplugin:deletedspecial
Change-Id: Ibfed67bd911579caa19ca2203f60a86a4e6d637c
-rw-r--r--canvas/source/opengl/ogl_canvashelper.hxx3
-rw-r--r--include/canvas/base/cachedprimitivebase.hxx4
-rw-r--r--include/canvas/base/canvasbase.hxx4
-rw-r--r--include/canvas/base/canvascustomspritehelper.hxx4
-rw-r--r--include/canvas/base/graphicdevicebase.hxx4
5 files changed, 9 insertions, 10 deletions
diff --git a/canvas/source/opengl/ogl_canvashelper.hxx b/canvas/source/opengl/ogl_canvashelper.hxx
index 0dc98e00d798..5c7ecd201db1 100644
--- a/canvas/source/opengl/ogl_canvashelper.hxx
+++ b/canvas/source/opengl/ogl_canvashelper.hxx
@@ -205,8 +205,7 @@ namespace oglcanvas
o3tl::ThreadSafeRefCountingPolicy > RecordVectorT;
private:
- // declared, but not defined
- CanvasHelper( const CanvasHelper& );
+ CanvasHelper( const CanvasHelper& ) SAL_DELETED_FUNCTION;
void setupGraphicsState( Action& o_action,
const ::com::sun::star::rendering::ViewState& viewState,
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;
};
}