diff options
Diffstat (limited to 'sw/source/core/doc/doccomp.cxx')
-rw-r--r-- | sw/source/core/doc/doccomp.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 25894d35ff02..e46f0d9aa5f7 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -1296,28 +1296,28 @@ bool SwCompareLine::ChangesInLine( const SwCompareLine& rLine, LgstCommonSubseq aSeq( aCmp ); - nLcsLen = aSeq.Find( &aTmpLcsDst[0], &aTmpLcsSrc[0] ); + nLcsLen = aSeq.Find( aTmpLcsDst.data(), aTmpLcsSrc.data() ); if( CmpOptions.nIgnoreLen ) { - nLcsLen = CommonSubseq::IgnoreIsolatedPieces( &aTmpLcsDst[0], &aTmpLcsSrc[0], + nLcsLen = CommonSubseq::IgnoreIsolatedPieces( aTmpLcsDst.data(), aTmpLcsSrc.data(), aCmp.GetLen1(), aCmp.GetLen2(), nLcsLen, CmpOptions.nIgnoreLen ); } - nLcsLen = aCmp.GetCharSequence( &aTmpLcsDst[0], &aTmpLcsSrc[0], - &aLcsDst[0], &aLcsSrc[0], nLcsLen ); + nLcsLen = aCmp.GetCharSequence( aTmpLcsDst.data(), aTmpLcsSrc.data(), + aLcsDst.data(), aLcsSrc.data(), nLcsLen ); } else { CharArrayComparator aCmp( &rDstNd, &rSrcNd ); LgstCommonSubseq aSeq( aCmp ); - nLcsLen = aSeq.Find( &aLcsDst[0], &aLcsSrc[0] ); + nLcsLen = aSeq.Find( aLcsDst.data(), aLcsSrc.data() ); if( CmpOptions.nIgnoreLen ) { - nLcsLen = CommonSubseq::IgnoreIsolatedPieces( &aLcsDst[0], &aLcsSrc[0], nDstLen, + nLcsLen = CommonSubseq::IgnoreIsolatedPieces( aLcsDst.data(), aLcsSrc.data(), nDstLen, nSrcLen, nLcsLen, CmpOptions.nIgnoreLen ); } |