summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms/xformsimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/xforms/xformsimport.cxx')
-rw-r--r--xmloff/source/xforms/xformsimport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/xforms/xformsimport.cxx b/xmloff/source/xforms/xformsimport.cxx
index 62a52c27fef3..5ada40188089 100644
--- a/xmloff/source/xforms/xformsimport.cxx
+++ b/xmloff/source/xforms/xformsimport.cxx
@@ -158,7 +158,7 @@ void applyXFormsSettings( const Reference< XNameAccess >& _rXForms, const Sequen
Reference< XNameAccess > xModelSettings( aSettings.get( "XFormModels" ), UNO_QUERY );
if ( !xModelSettings.is() )
{
- OSL_ENSURE( false, "applyXFormsSettings: wrong type for the XFormModels settings!" );
+ OSL_FAIL( "applyXFormsSettings: wrong type for the XFormModels settings!" );
return;
}
@@ -177,7 +177,7 @@ void applyXFormsSettings( const Reference< XNameAccess >& _rXForms, const Sequen
// the model itself
if ( !_rXForms->hasByName( *pModelName ) )
{
- OSL_ENSURE( false, "applyXFormsSettings: have settings for a non-existent XForms model!" );
+ OSL_FAIL( "applyXFormsSettings: have settings for a non-existent XForms model!" );
continue;
}
@@ -192,7 +192,7 @@ void applyXFormsSettings( const Reference< XNameAccess >& _rXForms, const Sequen
{
if ( !xModelPSI->hasPropertyByName( pSetting->Name ) )
{
- OSL_ENSURE( false, "applyXFormsSettings: non-existent model property!" );
+ OSL_FAIL( "applyXFormsSettings: non-existent model property!" );
continue;
}