diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 16:06:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 16:31:38 +0100 |
commit | 57da9541f43a01500e1da919498d32a8e974c800 (patch) | |
tree | 264e659fc398e9b9cc638dbf27e055cb5be3a1d7 /vcl/source/outdev/text.cxx | |
parent | d1775349e4ea619aa7b634bcd7161374107038a1 (diff) |
Revert "vcl: Assert that a non-negative nXPos is always found"
This reverts commit e3bd0951e6b8e8889aabc8640c5641ab32300517,
the newly added assert fires during JunitTest_forms_unoapi_2.
Diffstat (limited to 'vcl/source/outdev/text.cxx')
-rw-r--r-- | vcl/source/outdev/text.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index c37951ec8cc4..9a745bea0db5 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -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 ) { |