[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sfx2/source

Gabriel Masei (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 12 07:43:10 UTC 2021


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

New commits:
commit 8bac13f3295f5403a6ea26bba6437d707d1bdbbc
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: Mon Apr 12 09:42:23 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>
    (cherry picked from commit 8859e62d7dfaa71c35f80b5eff99b0788b49c9fa)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113766
    Reviewed-by: Gabriel Masei <gabriel.masei at 1and1.ro>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index dc1e80cbf1b4..694959d327e6 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1169,7 +1169,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 ? OUStringLiteral("enabled") : OUStringLiteral("disabled"));
     }


More information about the Libreoffice-commits mailing list