diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:13:18 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:13:18 +0100 |
commit | 25af48a8840696770162f41912b0609478f5132d (patch) | |
tree | 73482b230c37953b1325c11f9148e82e1de7875d /sw/source/core/text/pormulti.cxx | |
parent | f9585d9dc148653afee9286b00595222effe3d9c (diff) |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'sw/source/core/text/pormulti.cxx')
-rw-r--r-- | sw/source/core/text/pormulti.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx index 222a669bd44e..25ff3d0b047f 100644 --- a/sw/source/core/text/pormulti.cxx +++ b/sw/source/core/text/pormulti.cxx @@ -80,8 +80,7 @@ SwMultiPortion::~SwMultiPortion() void SwMultiPortion::Paint( const SwTxtPaintInfo & ) const { - OSL_ENSURE( sal_False, - "Don't try SwMultiPortion::Paint, try SwTxtPainter::PaintMultiPortion" ); + OSL_FAIL( "Don't try SwMultiPortion::Paint, try SwTxtPainter::PaintMultiPortion" ); } /*-------------------------------------------------- @@ -749,7 +748,7 @@ void SwRubyPortion::_Adjust( SwTxtFormatInfo &rInf ) } break; } - default: OSL_ENSURE( sal_False, "New ruby adjustment" ); + default: OSL_FAIL( "New ruby adjustment" ); } if( nLeft || nRight ) { |