diff options
Diffstat (limited to 'sal/rtl/source/strtmpl.cxx')
-rw-r--r-- | sal/rtl/source/strtmpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/source/strtmpl.cxx b/sal/rtl/source/strtmpl.cxx index f9d7a5ef59a7..b303e10fc0b9 100644 --- a/sal/rtl/source/strtmpl.cxx +++ b/sal/rtl/source/strtmpl.cxx @@ -1198,7 +1198,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newFromSubString )( IMPL_RTL_STRINGDATA** ppT } if ( count < 0 || beginIndex < 0 || beginIndex + count > pFrom->length ) { - OSL_FAIL( "Out of bounds substring access" ); + assert(false); IMPL_RTL_STRINGNAME( newFromLiteral )( ppThis, "!!br0ken!!", 10, 0 ); return; } |