summaryrefslogtreecommitdiff
path: root/sw/source/core/graphic/grfatr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/graphic/grfatr.cxx')
-rw-r--r--sw/source/core/graphic/grfatr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/graphic/grfatr.cxx b/sw/source/core/graphic/grfatr.cxx
index 48e56afb585e..b86ad78553c3 100644
--- a/sw/source/core/graphic/grfatr.cxx
+++ b/sw/source/core/graphic/grfatr.cxx
@@ -40,7 +40,7 @@ sal_uInt16 SwMirrorGrf::GetValueCount() const
bool SwMirrorGrf::operator==( const SfxPoolItem& rItem) const
{
- return SfxEnumItem::operator==(static_cast<const SfxEnumItem<MirrorGraph>&>(rItem)) &&
+ return SfxEnumItem::operator==(rItem) &&
static_cast<const SwMirrorGrf&>(rItem).IsGrfToggle() == IsGrfToggle();
}