[Libreoffice-commits] core.git: bridges/source
Thomas Arnhold
thomas at arnhold.org
Fri Oct 4 16:48:35 PDT 2013
bridges/source/cpp_uno/gcc3_linux_intel/except.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e31a3abfc7c5f30442ec5288e2d698af01d4f831
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Fri Oct 4 16:43:52 2013 +0200
WaE: -Wunused-variable
Change-Id: I31bdce7f31185faebaf8a8a2162669b185def0c9
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
index 3eaceb4..a49bd95 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
{
More information about the Libreoffice-commits
mailing list