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/minfitem.hxx | |
parent | 56c9446f74747214f733757f134cbc9e055ca5e2 (diff) |
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/minfitem.hxx')
-rw-r--r-- | include/sfx2/minfitem.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sfx2/minfitem.hxx b/include/sfx2/minfitem.hxx index a80e5757a17a..4ee078822e2d 100644 --- a/include/sfx2/minfitem.hxx +++ b/include/sfx2/minfitem.hxx @@ -43,8 +43,6 @@ public: const OUString &rMethodName, const OUString &rComment); - SfxMacroInfoItem( const SfxMacroInfoItem& ); - virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual bool operator==( const SfxPoolItem& ) const override; const OUString& GetMethod() const |