diff options
author | Mert Tumer <mert.tumer@collabora.com> | 2020-10-13 20:16:22 +0300 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2020-10-19 09:51:03 +0200 |
commit | 5c5fa6597af973ebce48f983af8fdbb87789d03f (patch) | |
tree | d674e0bc91145407e8ed523814080ae1d603962c /sw/source | |
parent | 44b5084beb7380996b1eb9c7f946768834779b1c (diff) |
Check render parameters for AutoSpellChecking
Change-Id: Ife2551b4023461da26e70ac3de505adf9d7db1e8
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104274
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index be5c2ff289c3..2c4d8066b035 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3489,6 +3489,8 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence<css:: // switch. pDocShell->SetView(pView); } + else if (rValue.Name == ".uno:SpellOnline" && rValue.Value.has<bool>()) + aViewOption.SetOnlineSpell(rValue.Value.get<bool>()); } // Set the initial zoom value to 1; usually it is set in setClientZoom and |