summaryrefslogtreecommitdiff
path: root/cppcanvas/source/wrapper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:10:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:35:57 +0100
commitb13b01a2bca7b7c69a8fcf9e5ef7f209df99e4ad (patch)
tree166c9424a543318673d397a25cba158afa9b0757 /cppcanvas/source/wrapper
parentc6be3cf03b0c48fba99e785f18a61c798d3bb5be (diff)
loplugin:deletedspecial
Change-Id: I988d7cdfa048a3b093ebc34f9016ac42440daa4b
Diffstat (limited to 'cppcanvas/source/wrapper')
-rw-r--r--cppcanvas/source/wrapper/implbitmap.hxx5
-rw-r--r--cppcanvas/source/wrapper/implbitmapcanvas.hxx3
-rw-r--r--cppcanvas/source/wrapper/implcanvas.hxx3
-rw-r--r--cppcanvas/source/wrapper/implcustomsprite.hxx5
-rw-r--r--cppcanvas/source/wrapper/implpolypolygon.hxx5
-rw-r--r--cppcanvas/source/wrapper/implsprite.hxx5
-rw-r--r--cppcanvas/source/wrapper/implspritecanvas.hxx3
7 files changed, 11 insertions, 18 deletions
diff --git a/cppcanvas/source/wrapper/implbitmap.hxx b/cppcanvas/source/wrapper/implbitmap.hxx
index e4b387ea51f6..939803bbf9f9 100644
--- a/cppcanvas/source/wrapper/implbitmap.hxx
+++ b/cppcanvas/source/wrapper/implbitmap.hxx
@@ -57,9 +57,8 @@ namespace cppcanvas
::com::sun::star::rendering::XBitmap > getUNOBitmap() const SAL_OVERRIDE;
private:
- // default: disabled copy/assignment
- ImplBitmap(const ImplBitmap&);
- ImplBitmap& operator=( const ImplBitmap& );
+ ImplBitmap(const ImplBitmap&) SAL_DELETED_FUNCTION;
+ ImplBitmap& operator=( const ImplBitmap& ) SAL_DELETED_FUNCTION;
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap > mxBitmap;
BitmapCanvasSharedPtr mpBitmapCanvas;
diff --git a/cppcanvas/source/wrapper/implbitmapcanvas.hxx b/cppcanvas/source/wrapper/implbitmapcanvas.hxx
index bae2541ce59f..6f503e5ddf36 100644
--- a/cppcanvas/source/wrapper/implbitmapcanvas.hxx
+++ b/cppcanvas/source/wrapper/implbitmapcanvas.hxx
@@ -50,8 +50,7 @@ namespace cppcanvas
//ImplBitmapCanvas(const ImplBitmapCanvas&);
private:
- // default: disabled assignment
- ImplBitmapCanvas& operator=( const ImplBitmapCanvas& );
+ ImplBitmapCanvas& operator=( const ImplBitmapCanvas& ) SAL_DELETED_FUNCTION;
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > mxBitmapCanvas;
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap > mxBitmap;
diff --git a/cppcanvas/source/wrapper/implcanvas.hxx b/cppcanvas/source/wrapper/implcanvas.hxx
index 8a6401f1c69a..9a042540a5ea 100644
--- a/cppcanvas/source/wrapper/implcanvas.hxx
+++ b/cppcanvas/source/wrapper/implcanvas.hxx
@@ -78,8 +78,7 @@ namespace cppcanvas
//ImplCanvas(const ImplCanvas&);
private:
- // default: disabled assignment
- ImplCanvas& operator=( const ImplCanvas& );
+ ImplCanvas& operator=( const ImplCanvas& ) SAL_DELETED_FUNCTION;
mutable ::com::sun::star::rendering::ViewState maViewState;
boost::optional<basegfx::B2DPolyPolygon> maClipPolyPolygon;
diff --git a/cppcanvas/source/wrapper/implcustomsprite.hxx b/cppcanvas/source/wrapper/implcustomsprite.hxx
index 19187de4620e..8720a9f46ca7 100644
--- a/cppcanvas/source/wrapper/implcustomsprite.hxx
+++ b/cppcanvas/source/wrapper/implcustomsprite.hxx
@@ -48,9 +48,8 @@ namespace cppcanvas
virtual CanvasSharedPtr getContentCanvas() const SAL_OVERRIDE;
private:
- // default: disabled copy/assignment
- ImplCustomSprite(const ImplCustomSprite&);
- ImplCustomSprite& operator=( const ImplCustomSprite& );
+ ImplCustomSprite(const ImplCustomSprite&) SAL_DELETED_FUNCTION;
+ ImplCustomSprite& operator=( const ImplCustomSprite& ) SAL_DELETED_FUNCTION;
mutable CanvasSharedPtr mpLastCanvas;
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XCustomSprite > mxCustomSprite;
diff --git a/cppcanvas/source/wrapper/implpolypolygon.hxx b/cppcanvas/source/wrapper/implpolypolygon.hxx
index b685bdcf7706..16cd744a0e8d 100644
--- a/cppcanvas/source/wrapper/implpolypolygon.hxx
+++ b/cppcanvas/source/wrapper/implpolypolygon.hxx
@@ -65,9 +65,8 @@ namespace cppcanvas
::com::sun::star::rendering::XPolyPolygon2D > getUNOPolyPolygon() const SAL_OVERRIDE;
private:
- // default: disabled copy/assignment
- ImplPolyPolygon(const ImplPolyPolygon&);
- ImplPolyPolygon& operator= ( const ImplPolyPolygon& );
+ ImplPolyPolygon(const ImplPolyPolygon&) SAL_DELETED_FUNCTION;
+ ImplPolyPolygon& operator= ( const ImplPolyPolygon& ) SAL_DELETED_FUNCTION;
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D > mxPolyPoly;
diff --git a/cppcanvas/source/wrapper/implsprite.hxx b/cppcanvas/source/wrapper/implsprite.hxx
index 8cb9d8fa9f39..e7ff8dd5b283 100644
--- a/cppcanvas/source/wrapper/implsprite.hxx
+++ b/cppcanvas/source/wrapper/implsprite.hxx
@@ -61,9 +61,8 @@ namespace cppcanvas
::com::sun::star::rendering::XSprite > getUNOSprite() const SAL_OVERRIDE;
private:
- // default: disabled copy/assignment
- ImplSprite(const ImplSprite&);
- ImplSprite& operator=( const ImplSprite& );
+ ImplSprite(const ImplSprite&) SAL_DELETED_FUNCTION;
+ ImplSprite& operator=( const ImplSprite& ) SAL_DELETED_FUNCTION;
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice > mxGraphicDevice;
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XSprite > mxSprite;
diff --git a/cppcanvas/source/wrapper/implspritecanvas.hxx b/cppcanvas/source/wrapper/implspritecanvas.hxx
index c61bcd8ddd05..76652d323ceb 100644
--- a/cppcanvas/source/wrapper/implspritecanvas.hxx
+++ b/cppcanvas/source/wrapper/implspritecanvas.hxx
@@ -80,8 +80,7 @@ namespace cppcanvas
typedef ::boost::shared_ptr< TransformationArbiter > TransformationArbiterSharedPtr;
private:
- // default: disabled assignment
- ImplSpriteCanvas& operator=( const ImplSpriteCanvas& );
+ ImplSpriteCanvas& operator=( const ImplSpriteCanvas& ) SAL_DELETED_FUNCTION;
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XSpriteCanvas > mxSpriteCanvas;
TransformationArbiterSharedPtr mpTransformArbiter;