summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/gcc3_linux_powerpc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-11 18:32:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-11 18:32:05 +0100
commit61396df4f4b0ec955554bf90e61a31f998592b07 (patch)
treea32562fddb150e8ca5caaf50656f05524b0ee76a /bridges/source/cpp_uno/gcc3_linux_powerpc
parent72a311533a6b89dc7b268e2d6626816b24fcc61a (diff)
LEAK_STATIC_DATA is only ever defined for WNT
Change-Id: I1aa7b56b44e5efc8ad407c8d0fe09927f622b5e7
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_powerpc')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx
index e70a5df4eba1..225a241d412d 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx
@@ -230,12 +230,8 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
MutexGuard guard( Mutex::getGlobalMutex() );
if (! s_rtti)
{
-#ifdef LEAK_STATIC_DATA
- s_rtti = new RTTI();
-#else
static RTTI rtti_data;
s_rtti = &rtti_data;
-#endif
}
}
rtti = (type_info *)s_rtti->getRTTI( (typelib_CompoundTypeDescription *) pTypeDescr );