diff options
Diffstat (limited to 'editeng/source/items/textitem.cxx')
-rw-r--r-- | editeng/source/items/textitem.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index e4ce386c68c9..ffb4e63e2e21 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -1040,8 +1040,7 @@ bool SvxTextLineItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) bool SvxTextLineItem::operator==( const SfxPoolItem& rItem ) const { - assert(SfxPoolItem::operator==(rItem)); - return SfxEnumItem::operator==( static_cast<const SfxEnumItem<FontLineStyle>&>(rItem) ) && + return SfxEnumItem::operator==( rItem ) && GetColor() == static_cast<const SvxTextLineItem&>(rItem).GetColor(); } @@ -2241,12 +2240,6 @@ bool SvxTextRotateItem::PutValue(const css::uno::Any& rVal, sal_uInt8 nMemberId) return bRet; } -bool SvxTextRotateItem::operator==(const SfxPoolItem& rItem) const -{ - assert(SfxPoolItem::operator==(rItem)); - return SfxUInt16Item::operator==(rItem); -} - void SvxTextRotateItem::dumpAsXml(xmlTextWriterPtr pWriter) const { xmlTextWriterStartElement(pWriter, BAD_CAST("SvxTextRotateItem")); |