summaryrefslogtreecommitdiff
path: root/include/svl/cintitem.hxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-09-30 23:58:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-28 08:33:08 +0200
commit165d0a149d631d96a91118dfc7686bd2ebb0b6b9 (patch)
tree67881f3106c0eb411194b616bacc3c27cbbbb9cc /include/svl/cintitem.hxx
parentdf9edbcd2883cec2d0596133131cfbc220dee91f (diff)
clang-tidy modernize-use-equals-default in svl
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 on such items. Note: clang-tidy only finds functions defined in source, inlined functions in headers are picked manualy. Change-Id: I7e642a2ecf139420c53f6fcb39208918dd1a8d52 Reviewed-on: https://gerrit.libreoffice.org/43003 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl/cintitem.hxx')
-rw-r--r--include/svl/cintitem.hxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/svl/cintitem.hxx b/include/svl/cintitem.hxx
index 9b265179cd77..f8e1ea3f0fa3 100644
--- a/include/svl/cintitem.hxx
+++ b/include/svl/cintitem.hxx
@@ -33,10 +33,6 @@ public:
CntByteItem(sal_uInt16 which, sal_uInt8 nTheValue):
SfxPoolItem(which), m_nValue(nTheValue) {}
- CntByteItem(const CntByteItem & rItem):
- SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
- {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
@@ -80,10 +76,6 @@ public:
CntUInt16Item(sal_uInt16 which, SvStream & rStream);
- CntUInt16Item(const CntUInt16Item & rItem):
- SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
- {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
@@ -127,10 +119,6 @@ public:
CntInt32Item(sal_uInt16 which, SvStream & rStream);
- CntInt32Item(const CntInt32Item & rItem):
- SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
- {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
@@ -174,10 +162,6 @@ public:
CntUInt32Item(sal_uInt16 nWhich, SvStream & rStream);
- CntUInt32Item(const CntUInt32Item & rItem):
- SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
- {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,