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
commit867c2afe6c4617bfdb3e0325c6448aa3f4dfdfd2 (patch)
treebcedcd8c28796dd5b3ee8d12ce3e24fc9186a399 /chart2/source
parent4d29882f77d5fc81daf18517bda988871ee5f652 (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 2ad5dfa98..b5759560f 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!");
}
}