summaryrefslogtreecommitdiff
path: root/scripting/source/vbaevents
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-07 10:31:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-07 10:33:07 +0100
commit25cedf1dc717227d532e96062d03ba3ef1140a73 (patch)
tree9c161df8e8e9e33b8b8153344af2662d0a460416 /scripting/source/vbaevents
parent3952988da628d87e884168d23a352e4b151bf5ea (diff)
Introduce com.sun.star.beans.theIntrospection singleton
...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
Diffstat (limited to 'scripting/source/vbaevents')
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx4
1 files changed, 2 insertions, 2 deletions
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 ) );