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

Gabriel Masei (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 9 08:56:40 UTC 2021


 sfx2/source/control/unoctitm.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 8859e62d7dfaa71c35f80b5eff99b0788b49c9fa
Author:     Gabriel Masei <gabriel.masei at 1and1.ro>
AuthorDate: Wed Apr 7 12:46:27 2021 +0300
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri Apr 9 10:53:05 2021 +0200

    lok: intercept indentation and decimals state change events
    
    This solves some toolbar buttons enabling issues in online
    when dynamically changing UI mode to classic.
    
    Change-Id: I3301b92c35effce905f1283ae645d8ad2b168ece
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113723
    Tested-by: Jenkins
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 64f097503256..ecee69062180 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1170,7 +1170,11 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
              aEvent.FeatureURL.Path == "Substract" ||
              aEvent.FeatureURL.Path == "DistributeSelection" ||
              aEvent.FeatureURL.Path == "Intersect" ||
-             aEvent.FeatureURL.Path == "ResetAttributes")
+             aEvent.FeatureURL.Path == "ResetAttributes" ||
+             aEvent.FeatureURL.Path == "IncrementIndent" ||
+             aEvent.FeatureURL.Path == "DecrementIndent" ||
+             aEvent.FeatureURL.Path == "NumberFormatDecDecimals" ||
+             aEvent.FeatureURL.Path == "NumberFormatIncDecimals")
     {
         aBuffer.append(aEvent.IsEnabled ? std::u16string_view(u"enabled") : std::u16string_view(u"disabled"));
     }


More information about the Libreoffice-commits mailing list