diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-07-23 16:59:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-07-28 09:07:26 +0300 |
commit | 9ded9696859283dd63665951c9e7cc1f7f2d92f0 (patch) | |
tree | 37068ac90300eda62a35d3ed8055603ef4c44163 /bridges | |
parent | a86bef45ec2c2ba16de5c552e206a07dc190f497 (diff) |
WaE: unused variable
Change-Id: I36f59184c70b05e45929a01c2052c80cb04ed3de
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx index f2785d44fdbb..52c202a89833 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx @@ -212,7 +212,9 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THR { pair< t_rtti_map::iterator, bool > insertion( m_rttis.insert( t_rtti_map::value_type( unoName, rtti ) ) ); - OSL_ENSURE( insertion.second, "### inserting new rtti failed?!" ); + SAL_WARN_IF( !insertion.second, + "bridges", + "inserting new rtti failed" ); } else { @@ -252,7 +254,9 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THR pair< t_rtti_map::iterator, bool > insertion( m_generatedRttis.insert( t_rtti_map::value_type( unoName, rtti ) ) ); - OSL_ENSURE( insertion.second, "### inserting new generated rtti failed?!" ); + SAL_WARN_IF( !insertion.second, + "bridges", + "inserting new generated rtti failed" ); } else // taking already generated rtti { |