summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2017-11-16 22:13:27 -0400
committerJan Holesovsky <kendy@collabora.com>2017-11-30 17:26:32 +0100
commitf25e0008a0a18c4894891587337a204805173e0c (patch)
tree1fc8736bafae7587616210a31f1da57986fac848 /sd/source/ui/view
parente139eb658a20bdcb979afc21b97ba7873c116656 (diff)
sd: enable language status bar item
Change-Id: I7cb725cdcfc92366694fc8cb24c1443dd74d102e Reviewed-on: https://gerrit.libreoffice.org/44851 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/45448 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 0261657f1c60..6ba3aabfc3e2 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -444,6 +444,20 @@ void ViewShellBase::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
break;
}
}
+ else
+ {
+ switch ( rHint.GetId() )
+ {
+ case SFX_HINT_LANGUAGECHANGED:
+ {
+ GetViewFrame()->GetBindings().Invalidate(SID_LANGUAGE_STATUS);
+ }
+ break;
+
+ default:
+ break;
+ }
+ }
}
void ViewShellBase::InitializeFramework()