From b4ddacbc552905d0434e9204ee954cb4522a00cd Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Mon, 11 Apr 2016 00:35:08 +0200 Subject: [PATCH] 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 Reviewed-by: Noel Grandin --- basctl/source/basicide/doceventnotifier.cxx | 2 +- 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 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; };