summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-07-15 18:17:24 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2018-07-15 19:22:09 +0200
commit6fab990bff635ac5589947f26fd3dc4958b0c71c (patch)
tree923474d35d9ac4deb473ee44f06ad11608025ae7
parent936ae2b21631f2fb302e0e46fafef704b371841e (diff)
remove SvxFrameDirectionItem::operator== override
base class SfxEnumItem has the same operator Change-Id: I57bd4878f34eb17ee16553bb3f6aa2b15af533d9 Reviewed-on: https://gerrit.libreoffice.org/57452 Tested-by: Jenkins Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
-rw-r--r--editeng/source/items/frmitems.cxx8
-rw-r--r--include/editeng/frmdiritem.hxx1
2 files changed, 0 insertions, 9 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 957c6f9edb4a..951a19fc77b3 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -3808,14 +3808,6 @@ SvxFrameDirectionItem::~SvxFrameDirectionItem()
}
-bool SvxFrameDirectionItem::operator==( const SfxPoolItem& rCmp ) const
-{
- assert(SfxPoolItem::operator==(rCmp));
-
- return GetValue() == static_cast<const SvxFrameDirectionItem&>(rCmp).GetValue();
-}
-
-
SfxPoolItem* SvxFrameDirectionItem::Clone( SfxItemPool * ) const
{
return new SvxFrameDirectionItem( *this );
diff --git a/include/editeng/frmdiritem.hxx b/include/editeng/frmdiritem.hxx
index 57feb3c3ebb3..df8aecdd40a5 100644
--- a/include/editeng/frmdiritem.hxx
+++ b/include/editeng/frmdiritem.hxx
@@ -37,7 +37,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const override;
- virtual bool operator==( const SfxPoolItem& ) const override;
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,