diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:39:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:39:07 +0200 |
commit | 23116414bd9ea84e3bcdb69b5001c082c9bbb6cc (patch) | |
tree | b6c94ec712480232623eb5635fcd8fff90193b72 /extensions/source/ole/servprov.cxx | |
parent | e78a3bfdc815210145e717db459a90f50f218ea8 (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Iee8db4ae259f0d2181140cb3f7ce859bad7cd33d
Diffstat (limited to 'extensions/source/ole/servprov.cxx')
-rw-r--r-- | extensions/source/ole/servprov.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx index d49414d0bc9a..2467850649be 100644 --- a/extensions/source/ole/servprov.cxx +++ b/extensions/source/ole/servprov.cxx @@ -150,7 +150,7 @@ STDMETHODIMP ProviderOleWrapper_Impl::CreateInstance(IUnknown FAR* punkOuter, if (xInstance.is()) { - Any usrAny(&xInstance, getCppuType( & xInstance)); + Any usrAny(&xInstance, cppu::UnoType<decltype(xInstance)>::get()); sal_uInt8 arId[16]; rtl_getGlobalProcessId( arId ); @@ -282,7 +282,7 @@ STDMETHODIMP OneInstanceOleWrapper_Impl::CreateInstance(IUnknown FAR* punkOuter, if (m_xInst.is()) { - Any usrAny(&m_xInst, getCppuType( &m_xInst)); + Any usrAny(&m_xInst, cppu::UnoType<decltype(m_xInst)>::get()); sal_uInt8 arId[16]; rtl_getGlobalProcessId( arId); Any oleAny = m_bridgeSupplier->createBridge(usrAny, |