summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uiview/viewstat.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/uiview/viewstat.cxx b/sw/source/uibase/uiview/viewstat.cxx
index bacc2f395583..f21772ffe28d 100644
--- a/sw/source/uibase/uiview/viewstat.cxx
+++ b/sw/source/uibase/uiview/viewstat.cxx
@@ -602,6 +602,7 @@ void SwView::GetDrawState(SfxItemSet &rSet)
if ( bWeb )
rSet.DisableItem( nWhich );
else
+ if (nWhich != SID_DRAW_TEXT) //tdf#113171
rSet.Put( SfxBoolItem( nWhich, m_nDrawSfxId == nWhich ) );
break;
@@ -610,6 +611,7 @@ void SwView::GetDrawState(SfxItemSet &rSet)
if ( bWeb || !SvtLanguageOptions().IsVerticalTextEnabled() )
rSet.DisableItem( nWhich );
else
+ if (nWhich != SID_DRAW_TEXT_VERTICAL) //tdf#113171
rSet.Put( SfxBoolItem( nWhich, m_nDrawSfxId == nWhich ) );
break;