summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/guisaveas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/guisaveas.cxx')
-rw-r--r--sfx2/source/doc/guisaveas.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index a2701549606a..b6c995cc4f22 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -1456,9 +1456,10 @@ sal_Bool SfxStoringHelper::GUIStoreModel( uno::Reference< frame::XModel > xModel
{
aModelData.GetStorable2()->storeSelf( aModelData.GetMediaDescr().getAsConstPropertyValueList() );
}
- catch( const lang::IllegalArgumentException& )
+ catch (const lang::IllegalArgumentException& e)
{
- OSL_FAIL( "ModelData didn't handle illegal parameters, all the parameters are ignored!\n" );
+ SAL_WARN("sfx", "Ignoring parameters! "
+ "ModelData considers this illegal: " << e.Message);
aModelData.GetStorable()->store();
}
}