diff options
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/wrapper/implbitmapcanvas.hxx | 4 | ||||
-rw-r--r-- | cppcanvas/source/wrapper/implcanvas.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cppcanvas/source/wrapper/implbitmapcanvas.hxx b/cppcanvas/source/wrapper/implbitmapcanvas.hxx index f2ccaf42153d..628be99d0b38 100644 --- a/cppcanvas/source/wrapper/implbitmapcanvas.hxx +++ b/cppcanvas/source/wrapper/implbitmapcanvas.hxx @@ -41,8 +41,8 @@ namespace cppcanvas ImplBitmapCanvas(ImplBitmapCanvas const &) = default; ImplBitmapCanvas(ImplBitmapCanvas &&) = default; - ImplBitmapCanvas & operator =(ImplBitmapCanvas const &) = default; - ImplBitmapCanvas & operator =(ImplBitmapCanvas &&) = default; + ImplBitmapCanvas & operator =(ImplBitmapCanvas const &) = delete; // due to const mxBitmapCanvas + ImplBitmapCanvas & operator =(ImplBitmapCanvas &&) = delete; // due to const mxBitmapCanvas virtual ::basegfx::B2ISize getSize() const override; diff --git a/cppcanvas/source/wrapper/implcanvas.hxx b/cppcanvas/source/wrapper/implcanvas.hxx index b6f8d02da87c..2f8da62e4f0e 100644 --- a/cppcanvas/source/wrapper/implcanvas.hxx +++ b/cppcanvas/source/wrapper/implcanvas.hxx @@ -55,8 +55,8 @@ namespace cppcanvas ImplCanvas(ImplCanvas const &) = default; ImplCanvas(ImplCanvas &&) = default; - ImplCanvas & operator =(ImplCanvas const &) = default; - ImplCanvas & operator =(ImplCanvas &&) = default; + ImplCanvas & operator =(ImplCanvas const &) = delete; // due to const mxCanvas + ImplCanvas & operator =(ImplCanvas &&) = delete; // due to const mxCanvas virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) override; virtual ::basegfx::B2DHomMatrix getTransformation() const override; |