summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextMarkImportContext.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 14:27:45 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:43 +0100
commit1848de2f4cce84862cf0843e15f38ce5d1f26108 (patch)
tree38d3983e56f5d2c900c24750e0050556435cfd6b /xmloff/source/text/XMLTextMarkImportContext.cxx
parente4d0bb122a93d243067814b9d43f9c9ab1e4df65 (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'xmloff/source/text/XMLTextMarkImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLTextMarkImportContext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLTextMarkImportContext.cxx b/xmloff/source/text/XMLTextMarkImportContext.cxx
index 68f929fd3c5d..8338d398d17b 100644
--- a/xmloff/source/text/XMLTextMarkImportContext.cxx
+++ b/xmloff/source/text/XMLTextMarkImportContext.cxx
@@ -382,7 +382,7 @@ Reference<XTextContent> XMLTextMarkImportContext::CreateAndInsertMark(
if (!xIfc.is())
{
- OSL_ENSURE(false, "CreateAndInsertMark: cannot create service?");
+ OSL_FAIL("CreateAndInsertMark: cannot create service?");
return 0;
}
@@ -396,7 +396,7 @@ Reference<XTextContent> XMLTextMarkImportContext::CreateAndInsertMark(
{
if (sMarkName.getLength())
{
- OSL_ENSURE(false, "name given, but XNamed not supported?");
+ OSL_FAIL("name given, but XNamed not supported?");
return 0;
}
}
@@ -419,7 +419,7 @@ Reference<XTextContent> XMLTextMarkImportContext::CreateAndInsertMark(
}
catch (com::sun::star::lang::IllegalArgumentException &)
{
- OSL_ENSURE(false, "CreateAndInsertMark: cannot insert?");
+ OSL_FAIL("CreateAndInsertMark: cannot insert?");
return 0;
}
}