diff options
Diffstat (limited to 'sw/source/core/doc/doccomp.cxx')
-rw-r--r-- | sw/source/core/doc/doccomp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 4b5c3c388b94..4b3daa8bcee2 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -2334,8 +2334,8 @@ int CommonSubseq::FindLCS( int *pLcs1, int *pLcs2, int nStt1, int nEnd1, int nLen1 = nEnd1 ? nEnd1 - nStt1 : rCmp.GetLen1(); int nLen2 = nEnd2 ? nEnd2 - nStt2 : rCmp.GetLen2(); - assert( nLen1 >= 0 ); - assert( nLen2 >= 0 ); + OSL_ASSERT( nLen1 >= 0 ); + OSL_ASSERT( nLen2 >= 0 ); std::unique_ptr<int*[]> pLcs( new int*[ nLen1 + 1 ] ); pLcs[ 0 ] = pData.get(); |