summaryrefslogtreecommitdiff
path: root/sfx2/source/config
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-16 16:06:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-16 18:40:05 +0100
commit62951cdd17530f6218232f3d482bfd4ddd8a95ec (patch)
tree98376b3704c388143eefcb6abce624a48236eb74 /sfx2/source/config
parent997d21183322a0a94b96868073808841d2773902 (diff)
Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
Diffstat (limited to 'sfx2/source/config')
-rw-r--r--sfx2/source/config/evntconf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx
index 6b5c3e710fe2..06f056d28483 100644
--- a/sfx2/source/config/evntconf.cxx
+++ b/sfx2/source/config/evntconf.cxx
@@ -44,7 +44,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/document/XEventsSupplier.hpp>
-#include <com/sun/star/frame/GlobalEventBroadcaster.hpp>
+#include <com/sun/star/frame/theGlobalEventBroadcaster.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Reference.hxx>
@@ -232,7 +232,7 @@ void PropagateEvent_Impl( SfxObjectShell *pDoc, OUString aEventName, const SvxMa
else
{
xSupplier = uno::Reference < document::XEventsSupplier >
- ( frame::GlobalEventBroadcaster::create(::comphelper::getProcessComponentContext()),
+ ( frame::theGlobalEventBroadcaster::get(::comphelper::getProcessComponentContext()),
uno::UNO_QUERY );
}