diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-07 10:31:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-07 10:33:07 +0100 |
commit | 25cedf1dc717227d532e96062d03ba3ef1140a73 (patch) | |
tree | 9c161df8e8e9e33b8b8153344af2662d0a460416 /scripting | |
parent | 3952988da628d87e884168d23a352e4b151bf5ea (diff) |
Introduce com.sun.star.beans.theIntrospection singleton
...deprecating com.sun.star.beans.Introspection (single-instance) service.
Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 4 | ||||
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index b3107cafdc17..70a82c30480e 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -25,7 +25,7 @@ #include <com/sun/star/awt/Toolkit.hpp> #include <com/sun/star/awt/XControlContainer.hpp> #include <com/sun/star/awt/XWindowPeer.hpp> -#include <com/sun/star/beans/Introspection.hpp> +#include <com/sun/star/beans/theIntrospection.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/document/XEmbeddedScripts.hpp> #include <com/sun/star/lang/XMultiComponentFactory.hpp> @@ -566,7 +566,7 @@ static OUString aResourceResolverPropName("ResourceResolver"); if( !xIntrospection.is() ) { // Get introspection service - xIntrospection = Introspection::create( m_xContext ); + xIntrospection = theIntrospection::get( m_xContext ); } // Do introspection diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 48a563109077..4dfce212e0e2 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -26,7 +26,7 @@ #include <ooo/vba/XVBAToOOEventDescGen.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/Introspection.hpp> +#include <com/sun/star/beans/theIntrospection.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/lang/XMultiComponentFactory.hpp> @@ -395,7 +395,7 @@ ScriptEventHelper::getEventListeners() { std::list< OUString > eventMethods; - Reference< beans::XIntrospection > xIntrospection = beans::Introspection::create( m_xCtx ); + Reference< beans::XIntrospection > xIntrospection = beans::theIntrospection::get( m_xCtx ); Reference< beans::XIntrospectionAccess > xIntrospectionAccess = xIntrospection->inspect( makeAny( m_xControl ) ); |