From 03a9f139bd9ea1a4f9096fc982e6b326def58532 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 19 Sep 2012 13:15:15 +0200 Subject: ComponentContext::getUnoContext -> getComponentContext simplification ...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea --- comphelper/source/eventattachermgr/eventattachermgr.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'comphelper/source/eventattachermgr') diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx index 9b2402604b7c..85ed313a11fe 100644 --- a/comphelper/source/eventattachermgr/eventattachermgr.cxx +++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx @@ -23,8 +23,8 @@ #endif #include #include -#include #include +#include #include #include #include @@ -45,7 +45,6 @@ #include #include #include -#include #include #include @@ -363,7 +362,7 @@ Reference< XEventAttacherManager > createEventAttacherManager( const Reference< if ( xIFace.is() ) { Reference< XIntrospection > xIntrospection( xIFace, UNO_QUERY); - return new ImplEventAttacherManager( xIntrospection, comphelper::ComponentContext(rSMgr).getUNOContext() ); + return new ImplEventAttacherManager( xIntrospection, comphelper::getComponentContext(rSMgr) ); } } -- cgit