[Libreoffice-commits] core.git: basctl/source canvas/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Mon Apr 11 07:06:11 UTC 2016
basctl/source/basicide/doceventnotifier.cxx | 2 +-
canvas/source/directx/dx_graphicsprovider.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b4ddacbc552905d0434e9204ee954cb4522a00cd
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Mon Apr 11 00:35:08 2016 +0200
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 at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx
index a993709..9fa7064 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 22e6577..2d7c3d8 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;
};
More information about the Libreoffice-commits
mailing list