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 /stoc | |
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 'stoc')
-rw-r--r-- | stoc/source/inspect/introspection.component | 1 | ||||
-rw-r--r-- | stoc/source/invocation/invocation.cxx | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/stoc/source/inspect/introspection.component b/stoc/source/inspect/introspection.component index 52cd9df90e74..954979c2f7ec 100644 --- a/stoc/source/inspect/introspection.component +++ b/stoc/source/inspect/introspection.component @@ -21,5 +21,6 @@ prefix="introspection" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.stoc.Introspection"> <service name="com.sun.star.beans.Introspection"/> + <singleton name="com.sun.star.beans.theIntrospection"/> </implementation> </component> diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index 620ed6d3661c..6e67419d3e82 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -37,7 +37,7 @@ #include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/beans/XExactName.hpp> #include <com/sun/star/beans/XMaterialHolder.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/beans/PropertyAttribute.hpp> #include <com/sun/star/beans/MethodConcept.hpp> @@ -1100,7 +1100,7 @@ InvocationService::InvocationService( const Reference<XComponentContext> & xCtx OUString("com.sun.star.script.Converter"), xCtx ), UNO_QUERY ); - xIntrospection = Introspection::create(xCtx); + xIntrospection = theIntrospection::get(xCtx); } InvocationService::~InvocationService() {} |