summaryrefslogtreecommitdiff
path: root/scripting/source/basprov/basscript.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:40:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:40:47 +0200
commitbbe29239614459c899c0f5764290af336802873c (patch)
tree92f230ac84c4ee145e385e67d5043e894e97b74d /scripting/source/basprov/basscript.cxx
parent4f5b03433db779dfd779bb1a221338dd89b420e6 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I936ae26f8d5d7cdd32c15e937b7cae6668b6192c
Diffstat (limited to 'scripting/source/basprov/basscript.cxx')
-rw-r--r--scripting/source/basprov/basscript.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx
index 3f4196e5fd5f..afd4a307aa42 100644
--- a/scripting/source/basprov/basscript.cxx
+++ b/scripting/source/basprov/basscript.cxx
@@ -67,7 +67,7 @@ namespace basprov
,m_documentBasicManager( NULL )
,m_xDocumentScriptContext()
{
- registerProperty( BASSCRIPT_PROPERTY_CALLER, BASSCRIPT_PROPERTY_ID_CALLER, BASSCRIPT_DEFAULT_ATTRIBS(), &m_caller, ::getCppuType( &m_caller ) );
+ registerProperty( BASSCRIPT_PROPERTY_CALLER, BASSCRIPT_PROPERTY_ID_CALLER, BASSCRIPT_DEFAULT_ATTRIBS(), &m_caller, cppu::UnoType<decltype(m_caller)>::get() );
}
@@ -81,7 +81,7 @@ namespace basprov
,m_xDocumentScriptContext( documentScriptContext )
{
StartListening( *m_documentBasicManager );
- registerProperty( BASSCRIPT_PROPERTY_CALLER, BASSCRIPT_PROPERTY_ID_CALLER, BASSCRIPT_DEFAULT_ATTRIBS(), &m_caller, ::getCppuType( &m_caller ) );
+ registerProperty( BASSCRIPT_PROPERTY_CALLER, BASSCRIPT_PROPERTY_ID_CALLER, BASSCRIPT_DEFAULT_ATTRIBS(), &m_caller, cppu::UnoType<decltype(m_caller)>::get() );
}