diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-01-04 23:43:42 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-01-04 23:44:04 +0100 |
commit | 3f3d0c52ae29b6ab6b2c10a5557714361aa76a26 (patch) | |
tree | 202a6d7e19e86a494844e9e2648ef83c06c4b93c /cui | |
parent | c223e5ff859171adab1597025b30ec2501fc5771 (diff) |
Personas: Broadcast the information that the Persona has changed.
Change-Id: Ic563204c1a1a64d315e3e73dff30b6a6d05cfd87
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/personalization.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index ae8f60572f3d..14e071f2dd8e 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -16,6 +16,7 @@ #include <tools/urlobj.hxx> #include <vcl/edit.hxx> #include <vcl/msgbox.hxx> +#include <vcl/svapp.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/system/SystemShellExecute.hpp> @@ -161,6 +162,13 @@ sal_Bool SvxPersonalizationTabPage::FillItemSet( SfxItemSet & ) batch->commit(); + if ( bModified ) + { + // broadcast the change + DataChangedEvent aDataChanged( DATACHANGED_SETTINGS, NULL, SETTINGS_STYLE ); + Application::NotifyAllWindows( aDataChanged ); + } + return bModified; } |