From 62951cdd17530f6218232f3d482bfd4ddd8a95ec Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 16 Jan 2014 16:06:33 +0100 Subject: Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton ...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7 --- sfx2/source/doc/objstor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2/source/doc') diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 2fa26fc42e8d..311eedcd92fc 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include @@ -150,7 +150,7 @@ void impl_addToModelCollection(const css::uno::Reference< css::frame::XModel >& css::uno::Reference< css::uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext(); css::uno::Reference< css::frame::XGlobalEventBroadcaster > xModelCollection = - css::frame::GlobalEventBroadcaster::create(xContext); + css::frame::theGlobalEventBroadcaster::get(xContext); try { xModelCollection->insert(css::uno::makeAny(xModel)); -- cgit