diff options
Diffstat (limited to 'sfx2/source/control/sorgitm.cxx')
-rw-r--r-- | sfx2/source/control/sorgitm.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/control/sorgitm.cxx b/sfx2/source/control/sorgitm.cxx index 1a5709f00a51..76bc397efee0 100644 --- a/sfx2/source/control/sorgitm.cxx +++ b/sfx2/source/control/sorgitm.cxx @@ -42,8 +42,7 @@ SfxPoolItem* SfxScriptOrganizerItem::Clone( SfxItemPool * ) const bool SfxScriptOrganizerItem::operator==( const SfxPoolItem& rItem) const { - return typeid(rItem) == typeid(*this) && - SfxStringItem::operator==(rItem) && + return SfxStringItem::operator==(rItem) && aLanguage == static_cast<const SfxScriptOrganizerItem &>(rItem).aLanguage; } |