diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-05-08 18:13:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-09 08:52:56 +0200 |
commit | 4a74e2fe7dda32af69ad7311de6f630b3191059f (patch) | |
tree | 7141c59d0db91f22fc8f40a36a61d447ac7f6845 /sw/source/filter/html | |
parent | 81af96ea703b441639c103ecb85c1a861742504b (diff) |
also convert assertions in previous commit
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r-- | sw/source/filter/html/htmlatr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index 3128881fe86a..c72b588ae5af 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -1233,7 +1233,7 @@ sal_uInt16 HTMLEndPosLst::_FindStartPos( const HTMLSttEndPos *pPos ) const for( i = 0; i < aStartLst.size() && aStartLst[i] != pPos; i++ ) ; - OSL_ENSURE( i != aStartLst.Count(), "Item nicht in Start-Liste gefunden!" ); + OSL_ENSURE(i != aStartLst.size(), "Item not found in Start List!" ); return i==aStartLst.size() ? USHRT_MAX : i; } @@ -1245,7 +1245,7 @@ sal_uInt16 HTMLEndPosLst::_FindEndPos( const HTMLSttEndPos *pPos ) const for( i = 0; i < aEndLst.size() && aEndLst[i] != pPos; i++ ) ; - OSL_ENSURE( i != aEndLst.size(), "Item nicht in Ende-Liste gefunden" ); + OSL_ENSURE(i != aEndLst.size(), "Item not found in End List!" ); return i==aEndLst.size() ? USHRT_MAX : i; } @@ -1693,8 +1693,8 @@ HTMLEndPosLst::HTMLEndPosLst( SwDoc *pD, SwDoc* pTempl, HTMLEndPosLst::~HTMLEndPosLst() { - OSL_ENSURE( !aStartLst.Count(), "Start-Liste im Destruktor nicht leer" ); - OSL_ENSURE( !aEndLst.Count(), "End-Liste im Destruktor nicht leer" ); + OSL_ENSURE(aStartLst.empty(), "Start List not empty in destructor"); + OSL_ENSURE(aEndLst.empty(), "End List not empty in destructor"); } |