diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-16 16:06:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-16 18:40:05 +0100 |
commit | 62951cdd17530f6218232f3d482bfd4ddd8a95ec (patch) | |
tree | 98376b3704c388143eefcb6abce624a48236eb74 /basctl | |
parent | 997d21183322a0a94b96868073808841d2773902 (diff) |
Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.
Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/doceventnotifier.cxx | 6 | ||||
-rw-r--r-- | basctl/source/inc/doceventnotifier.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx index 957ae1b8ea1b..9aa94f0ca3e0 100644 --- a/basctl/source/basicide/doceventnotifier.cxx +++ b/basctl/source/basicide/doceventnotifier.cxx @@ -21,7 +21,7 @@ #include "doceventnotifier.hxx" #include "scriptdocument.hxx" -#include <com/sun/star/frame/GlobalEventBroadcaster.hpp> +#include <com/sun/star/frame/theGlobalEventBroadcaster.hpp> #include <com/sun/star/document/XEventBroadcaster.hpp> #include <vcl/svapp.hxx> @@ -50,7 +50,7 @@ namespace basctl using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::Exception; using ::com::sun::star::frame::XModel; - using ::com::sun::star::frame::GlobalEventBroadcaster; + using ::com::sun::star::frame::theGlobalEventBroadcaster; using ::com::sun::star::uno::UNO_QUERY; namespace csslang = ::com::sun::star::lang; @@ -212,7 +212,7 @@ namespace basctl { Reference< com::sun::star::uno::XComponentContext > aContext( comphelper::getProcessComponentContext() ); - xBroadcaster.set( GlobalEventBroadcaster::create(aContext), UNO_QUERY_THROW ); + xBroadcaster.set( theGlobalEventBroadcaster::get(aContext), UNO_QUERY_THROW ); } void ( SAL_CALL XEventBroadcaster::*listenerAction )( const Reference< XEventListener >& ) = diff --git a/basctl/source/inc/doceventnotifier.hxx b/basctl/source/inc/doceventnotifier.hxx index 4b950b17b893..372f5fcb704c 100644 --- a/basctl/source/inc/doceventnotifier.hxx +++ b/basctl/source/inc/doceventnotifier.hxx @@ -55,7 +55,7 @@ namespace basctl //==================================================================== //= DocumentEventNotifier //==================================================================== - /** allows registering at the GlobalEventBroadcaster for global document events + /** allows registering at theGlobalEventBroadcaster for global document events */ class DocumentEventNotifier { |