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

Andras Timar andras.timar at collabora.com
Wed Feb 21 07:44:31 UTC 2018


 desktop/source/lib/init.cxx      |    3 ++-
 sfx2/source/control/unoctitm.cxx |    1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit e73cba0cea07eedee5507535f585e89e42ea0124
Author: Andras Timar <andras.timar at collabora.com>
Date:   Tue Feb 20 23:21:34 2018 +0100

    lok: support of AutoCorrect -> While Typing menu in Writer
    
    Change-Id: I7c07f3a6269cd4b92cc50f7aaf847faf04665029
    Reviewed-on: https://gerrit.libreoffice.org/50068
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 8d0611c21d07..1953b05daf70 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1764,7 +1764,8 @@ static void doc_iniUnoCommands ()
         OUString(".uno:DocumentRepair"),
         OUString(".uno:TransformDialog"),
         OUString(".uno:InsertPageHeader"),
-        OUString(".uno:InsertPageFooter")
+        OUString(".uno:InsertPageFooter"),
+        OUString(".uno:OnlineAutoFormat")
     };
 
     util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 31364d8f84a3..023ab89701e3 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1005,6 +1005,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
         aEvent.FeatureURL.Path == "RightPara" ||
         aEvent.FeatureURL.Path == "Shadowed" ||
         aEvent.FeatureURL.Path == "SpellOnline" ||
+        aEvent.FeatureURL.Path == "OnlineAutoFormat" ||
         aEvent.FeatureURL.Path == "SubScript" ||
         aEvent.FeatureURL.Path == "SuperScript" ||
         aEvent.FeatureURL.Path == "Strikeout" ||


More information about the Libreoffice-commits mailing list