Kaydet (Commit) 3f3d0c52 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Personas: Broadcast the information that the Persona has changed.

Change-Id: Ic563204c1a1a64d315e3e73dff30b6a6d05cfd87
üst c223e5ff
......@@ -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;
}
......
......@@ -103,6 +103,7 @@ void DockingAreaWindow::DataChanged( const DataChangedEvent& rDCEvt )
if ( (rDCEvt.GetType() == DATACHANGED_SETTINGS) && (rDCEvt.GetFlags() & SETTINGS_STYLE) )
{
ImplInitBackground( this );
Invalidate();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment