Kaydet (Commit) 57da9541 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Revert "vcl: Assert that a non-negative nXPos is always found"

This reverts commit e3bd0951,
the newly added assert fires during JunitTest_forms_unoapi_2.
üst d1775349
......@@ -1124,7 +1124,6 @@ bool OutputDevice::GetCaretPositions( const OUString& rStr, long* pCaretXArray,
for( i = 0; i < 2 * nLen; ++i )
if( pCaretXArray[ i ] >= 0 )
break;
assert(i < 2 * nLen); // otherwise i may go beyond the end of pCaretXArray
long nXPos = pCaretXArray[ i ];
for( i = 0; i < 2 * nLen; ++i )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment