diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-11-29 21:23:30 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-03 20:19:16 +0100 |
commit | 8759c6b5e57e7cf7574f04e9b4685a67d23fc6d5 (patch) | |
tree | 3a6ab17b3ff7eddd581c6c6bb037184774a83d57 /sw/inc/paratr.hxx | |
parent | 21104454f97d401c8f308ee3f468c66ff323c483 (diff) |
clang-tidy modernize-use-equals-default in sw
also removing an odd Swap function in sw::util::Setlayer
Change-Id: Ied4a4bb5a6ef3f6bdd29c40b19680600536407bc
Reviewed-on: https://gerrit.libreoffice.org/45740
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/paratr.hxx')
-rw-r--r-- | sw/inc/paratr.hxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx index 2f7e2305556e..7afb4eb00070 100644 --- a/sw/inc/paratr.hxx +++ b/sw/inc/paratr.hxx @@ -116,7 +116,6 @@ public: inline SwRegisterItem( const bool bRegister = false ); - /// @@@ public copy assignment, but no copy ctor? inline SwRegisterItem& operator=( const SwRegisterItem& rRegister ); /// "pure virtual methods" of SfxPoolItem @@ -150,9 +149,6 @@ public: SwNumRuleItem( const OUString& rRuleName ) : SfxStringItem( RES_PARATR_NUMRULE, rRuleName ) {} - SwNumRuleItem( const SwNumRuleItem& rCpy ) - : SfxStringItem( RES_PARATR_NUMRULE, rCpy.GetValue() ) {} - SwNumRuleItem& operator=( const SwNumRuleItem& rCpy ) { SetValue( rCpy.GetValue() ); return *this; } @@ -177,7 +173,6 @@ public: inline SwParaConnectBorderItem( const bool bConnect = true ); - /// @@@ public copy assignment, but no copy ctor? inline SwParaConnectBorderItem& operator=( const SwParaConnectBorderItem& rConnect ); /// "pure virtual methods" of SfxPoolItem |