fix copy assignment signatures

get value by reference

introduced in
commit 8c2f2e1dd7 and
commit f9b200ce54

Change-Id: Iba84dd752f4cbdde9f3676c434d107efabe63a38
Reviewed-on: https://gerrit.libreoffice.org/23974
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
Jochen Nitschke 2016-04-11 00:35:08 +02:00 committed by Noel Grandin
parent e5dd156a44
commit b4ddacbc55
2 changed files with 2 additions and 2 deletions

View file

@ -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 ();

View file

@ -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;
};