diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:35:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:35:33 +0200 |
commit | fb088cdd8d6aed2f82b13b03d8ddb6f7901c5ef2 (patch) | |
tree | a1be19894c8574a84cd9da75648cc971fe4d2b42 /bridges/source/cpp_uno/gcc3_linux_arm | |
parent | Replace remaining getCppuType et al with cppu::UnoType (diff) | |
download | core-fb088cdd8d6aed2f82b13b03d8ddb6f7901c5ef2.tar.gz core-fb088cdd8d6aed2f82b13b03d8ddb6f7901c5ef2.zip |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I37d1a939c1a98f77152ed90dfb201446101f3157
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_arm')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_arm/except.cxx | 4 | ||||
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx index bccc2ceb348f..53319a4d9581 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx @@ -305,7 +305,7 @@ namespace CPPU_CURRENT_NAMESPACE if (! header) { RuntimeException aRE( "no exception header!" ); - Type const & rType = ::getCppuType( &aRE ); + Type const & rType = cppu::UnoType<decltype(aRE)>::get(); uno_type_any_constructAndConvert( pUnoExc, &aRE, rType.getTypeLibType(), pCpp2Uno ); SAL_WARN("bridges", aRE.Message); return; @@ -321,7 +321,7 @@ namespace CPPU_CURRENT_NAMESPACE if (0 == pExcTypeDescr) { RuntimeException aRE( OUString("exception type not found: ") + unoName ); - Type const & rType = ::getCppuType( &aRE ); + Type const & rType = cppu::UnoType<decltype(aRE)>::get(); uno_type_any_constructAndConvert( pUnoExc, &aRE, rType.getTypeLibType(), pCpp2Uno ); SAL_WARN("bridges", aRE.Message); } diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx index 8dfb88d9396d..8670f0d40801 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx @@ -719,7 +719,7 @@ void unoInterfaceProxyDispatch( OUString("illegal member type description!"), ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); - Type const & rExcType = ::getCppuType( &aExc ); + Type const & rExcType = cppu::UnoType<decltype(aExc)>::get(); // binary identical null reference ::uno_type_any_construct( *ppException, &aExc, rExcType.getTypeLibType(), 0 ); } |