diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-01 09:48:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-02 07:03:08 +0100 |
commit | 8467d764187691f53e66d3568270197b162332d8 (patch) | |
tree | 4516bb3ea935427d4549ce09615a22bf5663096a /sw/inc | |
parent | 9ec1f722caedbeb04f96258f23442f8ee92a42be (diff) |
fix signatures of deleted copy/assign operators
Change-Id: Id1a0749b78a7021be3564487fb974d7084705129
Reviewed-on: https://gerrit.libreoffice.org/62718
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/IMark.hxx | 8 | ||||
-rw-r--r-- | sw/inc/calbck.hxx | 4 | ||||
-rw-r--r-- | sw/inc/finalthreadmanager.hxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx index 3761b0ea08fb..ba49320040bd 100644 --- a/sw/inc/IMark.hxx +++ b/sw/inc/IMark.hxx @@ -75,7 +75,7 @@ namespace sw { namespace mark virtual OUString ToString( ) const =0; virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const = 0; private: - IMark(IMark&) = delete; + IMark(IMark const &) = delete; IMark &operator =(IMark const&) = delete; }; @@ -95,7 +95,7 @@ namespace sw { namespace mark virtual void Hide(bool hide) =0; virtual void SetHideCondition(const OUString&) =0; private: - IBookmark(IBookmark&) = delete; + IBookmark(IBookmark const &) = delete; IBookmark &operator =(IBookmark const&) = delete; }; @@ -118,7 +118,7 @@ namespace sw { namespace mark virtual void SetFieldHelptext(const OUString& rFieldHelptext) =0; virtual void Invalidate() = 0; private: - IFieldmark(IFieldmark&) = delete; + IFieldmark(IFieldmark const &) = delete; IFieldmark &operator =(IFieldmark const&) = delete; }; @@ -132,7 +132,7 @@ namespace sw { namespace mark virtual bool IsChecked() const =0; virtual void SetChecked(bool checked) =0; private: - ICheckboxFieldmark(ICheckboxFieldmark&) = delete; + ICheckboxFieldmark(ICheckboxFieldmark const &) = delete; ICheckboxFieldmark &operator =(ICheckboxFieldmark const&) = delete; }; diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index d470ea12a9ac..891664cdbddc 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -183,7 +183,7 @@ class SW_DLLPUBLIC SwModify: public SwClient virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override { NotifyClients( pOld, pNew ); }; - SwModify(SwModify&) = delete; + SwModify(SwModify const &) = delete; SwModify &operator =(const SwModify&) = delete; public: SwModify() @@ -241,7 +241,7 @@ namespace sw ListenerEntry(SwClient *const pTellHim, SwModify *const pDepend) : SwClient(pDepend), m_pToTell(pTellHim) {} - ListenerEntry(ListenerEntry&) = delete; + ListenerEntry(ListenerEntry const &) = delete; ListenerEntry& operator=(ListenerEntry const&) = delete; ListenerEntry(ListenerEntry&& other) noexcept : SwClient(std::move(other)) diff --git a/sw/inc/finalthreadmanager.hxx b/sw/inc/finalthreadmanager.hxx index b23204529298..587afbeb83f1 100644 --- a/sw/inc/finalthreadmanager.hxx +++ b/sw/inc/finalthreadmanager.hxx @@ -64,8 +64,8 @@ public: virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; private: - FinalThreadManager(FinalThreadManager &) = delete; - void operator =(FinalThreadManager &) = delete; + FinalThreadManager(FinalThreadManager const &) = delete; + void operator =(FinalThreadManager const &) = delete; virtual ~FinalThreadManager() override; |