diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-11 00:35:08 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-11 07:05:40 +0000 |
commit | b4ddacbc552905d0434e9204ee954cb4522a00cd (patch) | |
tree | 752d8b306a42a5c9fc5d5019df7d7bab136a7c01 | |
parent | e5dd156a44625865684b5dfa90a95108259deb50 (diff) |
fix copy assignment signatures
get value by reference
introduced in
commit 8c2f2e1dd77cdce9bdf63beff5a79f91adc44630 and
commit f9b200ce54cd67ddc04747f9676568a86e14d864
Change-Id: Iba84dd752f4cbdde9f3676c434d107efabe63a38
Reviewed-on: https://gerrit.libreoffice.org/23974
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r-- | basctl/source/basicide/doceventnotifier.cxx | 2 | ||||
-rw-r--r-- | canvas/source/directx/dx_graphicsprovider.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx index a993709753a9..9fa70649d4b9 100644 --- a/basctl/source/basicide/doceventnotifier.cxx +++ b/basctl/source/basicide/doceventnotifier.cxx @@ -67,7 +67,7 @@ namespace basctl public: // noncopyable Impl(const Impl&) = delete; - const Impl& operator=(const Impl) = delete; + Impl& operator=(const Impl&) = delete; Impl (DocumentEventListener&, Reference<XModel> const& rxDocument); virtual ~Impl (); diff --git a/canvas/source/directx/dx_graphicsprovider.hxx b/canvas/source/directx/dx_graphicsprovider.hxx index 22e6577d4f15..2d7c3d894465 100644 --- a/canvas/source/directx/dx_graphicsprovider.hxx +++ b/canvas/source/directx/dx_graphicsprovider.hxx @@ -36,7 +36,7 @@ namespace dxcanvas virtual ~GraphicsProvider() {} /// make noncopyable GraphicsProvider(const GraphicsProvider&) = delete; - const GraphicsProvider operator=(const GraphicsProvider) = delete; + GraphicsProvider& operator=(const GraphicsProvider&) = delete; virtual GraphicsSharedPtr getGraphics() = 0; }; |