diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:31:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:03 +0100 |
commit | ec3aae40ec0b0b39dc255041919fda77a343f831 (patch) | |
tree | 197d3ef067d2a971dc1ebe9f1de9f5c5435671d9 /sw/inc/fmtcol.hxx | |
parent | 6e26cc140bf0254a88a1d4c6e82cbaee39ced418 (diff) |
loplugin:deletedspecial
Change-Id: Ia2b137e0167966a3d0b60f3c642a106834da8f1c
Diffstat (limited to 'sw/inc/fmtcol.hxx')
-rw-r--r-- | sw/inc/fmtcol.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx index d04ee7395186..ce65a1c9505d 100644 --- a/sw/inc/fmtcol.hxx +++ b/sw/inc/fmtcol.hxx @@ -44,10 +44,8 @@ protected: { SetAuto( false ); } private: - - /// For now don't copy and don't assign. - SwFmtColl(const SwFmtColl & ); - const SwFmtColl &operator=(const SwFmtColl &); + SwFmtColl(const SwFmtColl & ) SAL_DELETED_FUNCTION; + const SwFmtColl &operator=(const SwFmtColl &) SAL_DELETED_FUNCTION; }; /// Represents the style of a paragraph. @@ -56,7 +54,7 @@ class SW_DLLPUBLIC SwTxtFmtColl: public SwFmtColl friend class SwDoc; friend class ::sw::DocumentStylePoolManager; - SwTxtFmtColl(const SwTxtFmtColl & rRef); + SwTxtFmtColl(const SwTxtFmtColl & rRef) SAL_DELETED_FUNCTION; bool mbStayAssignedToListLevelOfOutlineStyle; @@ -194,7 +192,7 @@ public: SwCollCondition( const SwCollCondition& rCpy ); private: /// @@@ public copy ctor, but no copy assignment? - SwCollCondition & operator= (const SwCollCondition &); + SwCollCondition & operator= (const SwCollCondition &) SAL_DELETED_FUNCTION; public: bool operator==( const SwCollCondition& rCmp ) const; |