summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlimp.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:51:35 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:54:59 +0100
commit64378f446e782b6636312a8c72a7400fd799c1a4 (patch)
tree25376336ad586c3804f16ebc05d62fb069bce74b /sw/source/filter/xml/xmlimp.cxx
parent83d8300b31948702f3c11dc14d4070501b108084 (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'sw/source/filter/xml/xmlimp.cxx')
-rw-r--r--sw/source/filter/xml/xmlimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index 8574fdb697fc..00deda59fa55 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -1486,7 +1486,7 @@ void SwXMLImport::SetDocumentSpecificSettings(
if ( xLateInitSettings->hasByName( _rSettingsGroupName ) )
{
xLateInitSettings->replaceByName( _rSettingsGroupName, makeAny( _rSettings ) );
- OSL_ENSURE( false, "SwXMLImport::SetDocumentSpecificSettings: already have settings for this model!" );
+ OSL_FAIL( "SwXMLImport::SetDocumentSpecificSettings: already have settings for this model!" );
}
else
xLateInitSettings->insertByName( _rSettingsGroupName, makeAny( _rSettings ) );