[Libreoffice-commits] core.git: sw/source

Heiko Tietze (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 14 13:26:48 UTC 2021


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

New commits:
commit 9a8c8053b4fb322edb1e45b891307cdad1f3d41f
Author:     Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Wed Jul 14 11:25:28 2021 +0200
Commit:     Heiko Tietze <heiko.tietze at 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.tietze at 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;
 


More information about the Libreoffice-commits mailing list