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/zoomitem.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/zoomitem.hxx')
-rw-r--r-- | include/sfx2/zoomitem.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sfx2/zoomitem.hxx b/include/sfx2/zoomitem.hxx index 6329c3157277..4bc7a682cea0 100644 --- a/include/sfx2/zoomitem.hxx +++ b/include/sfx2/zoomitem.hxx @@ -62,8 +62,6 @@ public: SvxZoomItem( SvxZoomType eZoomType = SvxZoomType::PERCENT, sal_uInt16 nVal = 0, sal_uInt16 nWhich = SID_ATTR_ZOOM ); - SvxZoomItem( const SvxZoomItem& ); - virtual ~SvxZoomItem() override; void SetValueSet( SvxZoomEnableFlags nValues ) { nValueSet = nValues; } SvxZoomEnableFlags GetValueSet() const { return nValueSet; } |