summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/guisaveas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/guisaveas.cxx')
-rwxr-xr-xsfx2/source/doc/guisaveas.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index e41712c19038..b2f6dc7c4a7d 100755
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -1407,13 +1407,13 @@ sal_Bool SfxStoringHelper::GUIStoreModel( const uno::Reference< frame::XModel >&
}
catch( lang::IllegalArgumentException& )
{
- OSL_ENSURE( sal_False, "ModelData didn't handle illegal parameters, all the parameters are ignored!\n" );
+ OSL_FAIL( "ModelData didn't handle illegal parameters, all the parameters are ignored!\n" );
aModelData.GetStorable()->store();
}
}
else
{
- OSL_ENSURE( sal_False, "XStorable2 is not supported by the model!\n" );
+ OSL_FAIL( "XStorable2 is not supported by the model!\n" );
aModelData.GetStorable()->store();
}