summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:04:51 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:44:11 +0100
commit7dd39754e3d4d036e2c7bcdc335076e2b75afc93 (patch)
tree4245cd4c0db66faf03cf5676099c5f868d93807d /chart2/source
parentfd3ae880bc267446dc27adf678801ae99a885fe3 (diff)
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/model/filter/XMLFilter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx
index c9af823dd9da..66ba3d77f8ec 100644
--- a/chart2/source/model/filter/XMLFilter.cxx
+++ b/chart2/source/model/filter/XMLFilter.cxx
@@ -551,7 +551,7 @@ sal_Int32 XMLFilter::impl_ImportStream(
}
catch(uno::Exception&)
{
- OSL_ENSURE(0,"Exception caught!");
+ OSL_FAIL("Exception caught!");
}
}
xParser->setDocumentHandler( xDocHandler );
@@ -649,7 +649,7 @@ sal_Int32 XMLFilter::impl_Export(
}
catch(uno::Exception&)
{
- OSL_ENSURE(0,"Exception caught!");
+ OSL_FAIL("Exception caught!");
}
}