Kaydet (Commit) 6fab990b authored tarafından Jochen Nitschke's avatar Jochen Nitschke

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: 's avatarJochen Nitschke <j.nitschke+logerrit@ok.de>
üst 936ae2b2
......@@ -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 );
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment