diff options
Diffstat (limited to 'sw/source/uibase/uiview/viewstat.cxx')
-rw-r--r-- | sw/source/uibase/uiview/viewstat.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/uibase/uiview/viewstat.cxx b/sw/source/uibase/uiview/viewstat.cxx index a7d2c16a8539..43b0c0fd4a2d 100644 --- a/sw/source/uibase/uiview/viewstat.cxx +++ b/sw/source/uibase/uiview/viewstat.cxx @@ -520,10 +520,7 @@ void SwView::GetDrawState(SfxItemSet &rSet) if ( bWeb ) rSet.DisableItem( nWhich ); else - { - bool bCurrentActive = (m_nDrawSfxId == nWhich) && (m_aCurrShapeEnumCommand[ nWhich - SID_DRAWTBX_CS_BASIC ] == m_sDrawCustom); - rSet.Put( SfxBoolItem( nWhich, bCurrentActive ) ); - } + rSet.Put( SfxBoolItem( nWhich, m_nDrawSfxId == nWhich ) ); } break; |