summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:35:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:35:33 +0200
commitfb088cdd8d6aed2f82b13b03d8ddb6f7901c5ef2 (patch)
treea1be19894c8574a84cd9da75648cc971fe4d2b42 /bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
parent4f2a236da4cb21b353baee2498a87bd08a1bfac5 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I37d1a939c1a98f77152ed90dfb201446101f3157
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
index 10530d8caea9..d03a6abf915e 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
@@ -143,7 +143,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
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;
@@ -159,7 +159,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping
if (0 == pExcTypeDescr)
{
RuntimeException aRE( "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);
}