summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-09-19 16:47:17 +0200
committerJan Holesovsky <kendy@collabora.com>2017-09-20 14:18:31 +0200
commit012f153259d7541604ba78f1cb0b4b2df968672d (patch)
tree8a784134c128a3c50541c4f2adc26b71157b3a4a
parent0581342a5beffefe96ac3b10f46763cda93285a8 (diff)
lok: Expose the automatic spell checking state in the UI.
Change-Id: I5c22ff70d3895b0f4a86eb8be85dde971604874a Reviewed-on: https://gerrit.libreoffice.org/42480 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r--desktop/source/lib/init.cxx1
-rw-r--r--sfx2/source/control/unoctitm.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index f9a825564c88..e195ae5a0430 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1556,6 +1556,7 @@ static void doc_iniUnoCommands ()
OUString(".uno:RowColSelCount"),
OUString(".uno:StatusPageStyle"),
OUString(".uno:InsertMode"),
+ OUString(".uno:SpellOnline"),
OUString(".uno:StatusSelectionMode"),
OUString(".uno:StateTableCell"),
OUString(".uno:StatusBarFunc"),
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 433dfbbf66ea..3556a9c4acb2 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -997,6 +997,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "OutlineFont" ||
aEvent.FeatureURL.Path == "RightPara" ||
aEvent.FeatureURL.Path == "Shadowed" ||
+ aEvent.FeatureURL.Path == "SpellOnline" ||
aEvent.FeatureURL.Path == "SubScript" ||
aEvent.FeatureURL.Path == "SuperScript" ||
aEvent.FeatureURL.Path == "Strikeout" ||