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 | |
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')
-rw-r--r-- | sw/inc/IMark.hxx | 8 | ||||
-rw-r--r-- | sw/inc/calbck.hxx | 4 | ||||
-rw-r--r-- | sw/inc/finalthreadmanager.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/docnode/cancellablejob.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/inc/unotextmarkup.hxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtww8.hxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/inc/toxmgr.hxx | 8 |
8 files changed, 21 insertions, 21 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; diff --git a/sw/source/core/docnode/cancellablejob.hxx b/sw/source/core/docnode/cancellablejob.hxx index ac3a8ed18c4f..23606ed96f4c 100644 --- a/sw/source/core/docnode/cancellablejob.hxx +++ b/sw/source/core/docnode/cancellablejob.hxx @@ -37,8 +37,8 @@ public: virtual void SAL_CALL cancel() override; private: - CancellableJob( CancellableJob& ) = delete; - void operator =( CancellableJob& ) = delete; + CancellableJob( CancellableJob const & ) = delete; + void operator =( CancellableJob const & ) = delete; ::rtl::Reference< ObservableThread > mrThread; }; diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index 5a9db1f0634a..d30f3d3bf97e 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -872,8 +872,8 @@ protected: } private: - TemporarySwap(TemporarySwap &) = delete; - void operator =(TemporarySwap &) = delete; + TemporarySwap(TemporarySwap const &) = delete; + void operator =(TemporarySwap const &) = delete; SwTextFrame * m_frame; bool m_undo; diff --git a/sw/source/core/inc/unotextmarkup.hxx b/sw/source/core/inc/unotextmarkup.hxx index d3f63063e22d..e0e1551c169f 100644 --- a/sw/source/core/inc/unotextmarkup.hxx +++ b/sw/source/core/inc/unotextmarkup.hxx @@ -96,8 +96,8 @@ public: virtual css::uno::Any SAL_CALL getValueByIndex(::sal_Int32 nIndex) override; private: - SwXStringKeyMap(SwXStringKeyMap &) = delete; - void operator =(SwXStringKeyMap &) = delete; + SwXStringKeyMap(SwXStringKeyMap const &) = delete; + void operator =(SwXStringKeyMap const &) = delete; virtual ~SwXStringKeyMap() override {} diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx index db7ea154cc4c..5f4d441aa5b5 100644 --- a/sw/source/filter/ww8/wrtww8.hxx +++ b/sw/source/filter/ww8/wrtww8.hxx @@ -1208,7 +1208,7 @@ private: sal_uInt8 const nTyp; WW8_WrPlcFootnoteEdn(const WW8_WrPlcFootnoteEdn&) = delete; - WW8_WrPlcFootnoteEdn& operator=(WW8_WrPlcFootnoteEdn &) = delete; + WW8_WrPlcFootnoteEdn& operator=(WW8_WrPlcFootnoteEdn const &) = delete; public: explicit WW8_WrPlcFootnoteEdn( sal_uInt8 nTTyp ) : nTyp( nTTyp ) {} @@ -1234,7 +1234,7 @@ class WW8_WrPlcAnnotations : public WW8_WrPlcSubDoc // double Plc for Postits { private: WW8_WrPlcAnnotations(const WW8_WrPlcAnnotations&) = delete; - WW8_WrPlcAnnotations& operator=(WW8_WrPlcAnnotations&) = delete; + WW8_WrPlcAnnotations& operator=(WW8_WrPlcAnnotations const &) = delete; std::set<const SwRedlineData*> maProcessedRedlines; std::map<const OUString, WW8_CP> m_aRangeStartPositions; @@ -1258,7 +1258,7 @@ private: virtual const std::vector<sal_uInt32>* GetShapeIdArr() const override; WW8_WrPlcTextBoxes(const WW8_WrPlcTextBoxes&) = delete; - WW8_WrPlcTextBoxes& operator=(WW8_WrPlcTextBoxes&) = delete; + WW8_WrPlcTextBoxes& operator=(WW8_WrPlcTextBoxes const &) = delete; public: explicit WW8_WrPlcTextBoxes( sal_uInt8 nTTyp ) : nTyp( nTTyp ) {} diff --git a/sw/source/uibase/inc/toxmgr.hxx b/sw/source/uibase/inc/toxmgr.hxx index e665b4d63f3d..6f0ccc290721 100644 --- a/sw/source/uibase/inc/toxmgr.hxx +++ b/sw/source/uibase/inc/toxmgr.hxx @@ -66,8 +66,8 @@ class SW_DLLPUBLIC SwTOXDescription //TODO: TemplateNames //const String* pTemplateName = 0, ??? - SwTOXDescription(SwTOXDescription&) = delete; - SwTOXDescription & operator= (SwTOXDescription&) = delete; + SwTOXDescription(SwTOXDescription const &) = delete; + SwTOXDescription & operator= (SwTOXDescription const &) = delete; public: // single argument ctors shall be explicit. @@ -181,8 +181,8 @@ class SwTOXMarkDescription boost::optional<OUString> maPhoneticReadingOfPrimKey; boost::optional<OUString> maPhoneticReadingOfSecKey; - SwTOXMarkDescription(SwTOXMarkDescription&) = delete; - SwTOXMarkDescription & operator= (SwTOXMarkDescription&) = delete; + SwTOXMarkDescription(SwTOXMarkDescription const &) = delete; + SwTOXMarkDescription & operator= (SwTOXMarkDescription const &) = delete; public: // single argument ctors shall be explicit. |