diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-11-14 22:27:50 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-11-22 14:56:20 +0100 |
commit | f8b990aaac155f0b45de3a4452bc300dcf2bb49b (patch) | |
tree | b5779f8e5a5e53af02a96eab3e2429f8d2f0fdc1 /sw/source/uibase/uiview/view0.cxx | |
parent | e7f78c3123c7bb7b8c830fa11241c357d89bad6a (diff) |
sw: change statusbar to use an icon, fix statusbar updating
Change-Id: I98e862c4c1124b1db8eb3e0ea7ff96effd629185
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142721
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/source/uibase/uiview/view0.cxx')
-rw-r--r-- | sw/source/uibase/uiview/view0.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/uibase/uiview/view0.cxx b/sw/source/uibase/uiview/view0.cxx index c6b9d0e22d34..3f05a607c984 100644 --- a/sw/source/uibase/uiview/view0.cxx +++ b/sw/source/uibase/uiview/view0.cxx @@ -34,6 +34,7 @@ #include <svx/srchdlg.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/bindings.hxx> +#include <sfx2/dispatch.hxx> #include <sfx2/sidebar/SidebarChildWindow.hxx> #include <uivwimp.hxx> #include <avmedia/mediaplayer.hxx> @@ -51,6 +52,7 @@ #include <cmdid.h> #include <globdoc.hxx> #include <wview.hxx> +#include <OnlineAccessibilityCheck.hxx> #define ShellClass_SwView #define ShellClass_Text @@ -595,6 +597,11 @@ void SwView::ExecViewOptions(SfxRequest &rReq) std::shared_ptr<comphelper::ConfigurationChanges> batch(comphelper::ConfigurationChanges::create()); officecfg::Office::Common::Accessibility::OnlineAccessibilityCheck::set(bSet, batch); batch->commit(); + + SwDocShell *pDocSh = GetDocShell(); + SwDoc* pDocument = pDocSh? pDocSh->GetDoc() : nullptr; + if (pDocument) + pDocument->getOnlineAccessibilityCheck()->updateCheckerActivity(); } break; |