diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-10-02 00:17:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 11:36:28 +0200 |
commit | b18545688a6399dbf89b05dae585e15a75b8302a (patch) | |
tree | 2bdcc89c67794ae9a224b91f4f499f8d7e167132 /include/sfx2/tplpitem.hxx | |
parent | Suppress loplugin:blockblock in functions involving preprocessing conditionals (diff) | |
download | core-b18545688a6399dbf89b05dae585e15a75b8302a.tar.gz core-b18545688a6399dbf89b05dae585e15a75b8302a.zip |
clang-tidy modernize-use-equals-default in sfx2
SfxPoolItem has a copy constructor and its copy assignment
operator is deleted. Derived classes have a implicit defined
copy constructor too, if all members are copy constructible.
This patch removes default-able copy constructors and destructors
on such items.
Change-Id: I214dfc016f02617e39a69177aa2233573dfe5f28
Reviewed-on: https://gerrit.libreoffice.org/43039
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/tplpitem.hxx')
-rw-r--r-- | include/sfx2/tplpitem.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sfx2/tplpitem.hxx b/include/sfx2/tplpitem.hxx index d76551ca03c7..f607466c4780 100644 --- a/include/sfx2/tplpitem.hxx +++ b/include/sfx2/tplpitem.hxx @@ -33,7 +33,6 @@ public: SfxTemplateItem(); SfxTemplateItem( sal_uInt16 nWhich, const OUString &rStyle ); - SfxTemplateItem( const SfxTemplateItem& ); const OUString& GetStyleName() const { return aStyle; } |