diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 12:05:23 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:12:21 +0100 |
commit | 891c7201150f88a9f91e8e57b0b57e0edb96df2b (patch) | |
tree | d2e25208aebf2f0cab06cb94d0c6185ce16f32f5 /sdext | |
parent | Move OSL_ENSURE(false,...) to OSL_FAIL(...) (diff) | |
download | core-891c7201150f88a9f91e8e57b0b57e0edb96df2b.tar.gz core-891c7201150f88a9f91e8e57b0b57e0edb96df2b.zip |
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/tree/drawtreevisiting.cxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/writertreevisiting.cxx | 2 |
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; } |