diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-10-04 16:43:52 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-10-05 01:47:20 +0200 |
commit | e31a3abfc7c5f30442ec5288e2d698af01d4f831 (patch) | |
tree | 1f7973c7a25295cd84b3237f3a48b504070bd01c /bridges | |
parent | 3ff650d5659ed050e33074355ee2384f1569b21e (diff) |
WaE: -Wunused-variable
Change-Id: I31bdce7f31185faebaf8a8a2162669b185def0c9
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_intel/except.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx index 3eaceb4afc9c..a49bd952feca 100644 --- a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx @@ -158,7 +158,7 @@ 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 { @@ -189,7 +189,7 @@ 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 { |