From 25cedf1dc717227d532e96062d03ba3ef1140a73 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 7 Mar 2014 10:31:07 +0100 Subject: Introduce com.sun.star.beans.theIntrospection singleton ...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882 --- extensions/source/propctrlr/eventhandler.cxx | 6 +++--- extensions/source/propctrlr/genericpropertyhandler.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'extensions') diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index b1424dd12027..7eafb3962c9f 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include @@ -83,7 +83,7 @@ namespace pcr using ::com::sun::star::uno::Any; using ::com::sun::star::uno::TypeClass_STRING; using ::com::sun::star::uno::Type; - using ::com::sun::star::beans::Introspection; + using ::com::sun::star::beans::theIntrospection; using ::com::sun::star::beans::XPropertyChangeListener; using ::com::sun::star::beans::Property; using ::com::sun::star::beans::PropertyState; @@ -979,7 +979,7 @@ namespace pcr // we use a set to avoid duplicates TypeBag aListeners; - Reference< XIntrospection > xIntrospection = Introspection::create( m_xContext ); + Reference< XIntrospection > xIntrospection = theIntrospection::get( m_xContext ); // --- model listeners lcl_addListenerTypesFor_throw( diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx index 4a0c4bc244a9..66d20cea57d7 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.cxx +++ b/extensions/source/propctrlr/genericpropertyhandler.cxx @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include #include @@ -338,7 +338,7 @@ namespace pcr m_xPropertyState.clear(); // create an introspection adapter for the component - Reference< XIntrospection > xIntrospection = Introspection::create( m_xContext ); + Reference< XIntrospection > xIntrospection = theIntrospection::get( m_xContext ); Reference< XIntrospectionAccess > xIntrospectionAccess( xIntrospection->inspect( makeAny( _rxIntrospectee ) ) ); if ( !xIntrospectionAccess.is() ) -- cgit