diff options
author | Andras Timar <andras.timar@collabora.com> | 2018-02-20 23:21:34 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-02-21 08:44:08 +0100 |
commit | e73cba0cea07eedee5507535f585e89e42ea0124 (patch) | |
tree | 1cd38b25b3ba12ba4b1f53ac3747c915eeb9e3e2 | |
parent | f00e891f3369f7b8c2532634d9ff4ab19da17c33 (diff) |
lok: support of AutoCorrect -> While Typing menu in Writer
Change-Id: I7c07f3a6269cd4b92cc50f7aaf847faf04665029
Reviewed-on: https://gerrit.libreoffice.org/50068
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | desktop/source/lib/init.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 1 |
2 files changed, 3 insertions, 1 deletions
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" || |