diff options
Diffstat (limited to 'cui/source/customize/eventdlg.cxx')
-rw-r--r-- | cui/source/customize/eventdlg.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/customize/eventdlg.cxx b/cui/source/customize/eventdlg.cxx index 7c5a5a9576a2..b0f01933d509 100644 --- a/cui/source/customize/eventdlg.cxx +++ b/cui/source/customize/eventdlg.cxx @@ -67,9 +67,7 @@ SvxEventConfigPage::SvxEventConfigPage(TabPageParent pParent, const SfxItemSet& m_xSaveInListBox->connect_changed( LINK( this, SvxEventConfigPage, SelectHdl_Impl ) ); - uno::Reference< frame::XGlobalEventBroadcaster > xSupplier; - - xSupplier = + uno::Reference< frame::XGlobalEventBroadcaster > xSupplier = frame::theGlobalEventBroadcaster::get(::comphelper::getProcessComponentContext()); m_xAppEvents = xSupplier->getEvents(); |