summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/officeresourcebundle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/officeresourcebundle.cxx')
-rw-r--r--comphelper/source/misc/officeresourcebundle.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/source/misc/officeresourcebundle.cxx b/comphelper/source/misc/officeresourcebundle.cxx
index 942a8e618261..2e2119cb2ee3 100644
--- a/comphelper/source/misc/officeresourcebundle.cxx
+++ b/comphelper/source/misc/officeresourcebundle.cxx
@@ -137,7 +137,7 @@ namespace comphelper
}
catch( const Exception& )
{
- OSL_ENSURE( false, "ResourceBundle_Impl::loadString: caught an exception!" );
+ OSL_FAIL( "ResourceBundle_Impl::loadString: caught an exception!" );
}
}
return sString;
@@ -158,7 +158,7 @@ namespace comphelper
}
catch( const Exception& )
{
- OSL_ENSURE( false, "ResourceBundle_Impl::hasString: caught an exception!" );
+ OSL_FAIL( "ResourceBundle_Impl::hasString: caught an exception!" );
}
}
return has;
@@ -182,7 +182,7 @@ namespace comphelper
}
catch( const Exception& )
{
- OSL_ENSURE( false, "ResourceBundle_Impl::impl_loadBundle_nopthrow: could not create the resource loader!" );
+ OSL_FAIL( "ResourceBundle_Impl::impl_loadBundle_nopthrow: could not create the resource loader!" );
}
if ( !xLoader.is() )
@@ -194,7 +194,7 @@ namespace comphelper
}
catch( const MissingResourceException& )
{
- OSL_ENSURE( false, "ResourceBundle_Impl::impl_loadBundle_nopthrow: missing the given resource bundle!" );
+ OSL_FAIL( "ResourceBundle_Impl::impl_loadBundle_nopthrow: missing the given resource bundle!" );
}
return m_xBundle.is();