sw/source/uibase/uiview/viewstat.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 9a8c8053b4fb322edb1e45b891307cdad1f3d41f
Author:     Heiko Tietze <tietze.he...@gmail.com>
AuthorDate: Wed Jul 14 11:25:28 2021 +0200
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Wed Jul 14 15:26:12 2021 +0200

    Resolves tdf#113171 - Text box must not toggle command
    
    Change-Id: I1985a377c9b299dce7d3e01d4e67099562008d22
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118888
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>

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;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to