summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:05:23 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:12:21 +0100
commit891c7201150f88a9f91e8e57b0b57e0edb96df2b (patch)
treed2e25208aebf2f0cab06cb94d0c6185ce16f32f5 /sdext
parent530b835583553dbe9af1481ce7082f6117446370 (diff)
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx2
-rw-r--r--sdext/source/pdfimport/tree/writertreevisiting.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index f0780f87986e..8781a615ea5c 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -671,7 +671,7 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent)
{
if( rParent.Children.empty() ) // this should not happen
{
- OSL_ENSURE( 0, "empty paragraph optimized" );
+ OSL_FAIL( "empty paragraph optimized" );
return;
}
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index 0064f5613527..f01fb959136d 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -729,7 +729,7 @@ void WriterXmlOptimizer::optimizeTextElements(Element& rParent)
{
if( rParent.Children.empty() ) // this should not happen
{
- OSL_ENSURE( 0, "empty paragraph optimized" );
+ OSL_FAIL( "empty paragraph optimized" );
return;
}