summaryrefslogtreecommitdiffstats
path: root/stoc/source
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/inspect/introspection.component1
-rw-r--r--stoc/source/invocation/invocation.cxx4
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() {}