sw/source/filter/ww8/wrtww8.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5dde7a14a2bfc4c29f5f60b7e47fdc7046ede0b0 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sun Aug 14 17:38:03 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Aug 15 08:16:32 2022 +0200 this index should be sal_Int32 since we are indexing into node content here Change-Id: I28c1a669a5202fb47757913bc175f1a926c4d4f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138252 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 77a66658f8d4..e5a4ffd3ed87 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -1418,7 +1418,7 @@ WW8_CP WW8_WrPct::Fc2Cp( sal_uLong nFc ) const void WW8Export::AppendBookmarks( const SwTextNode& rNd, sal_Int32 nCurrentPos, sal_Int32 nLen, const SwRedlineData* /*pRedlineData*/ ) { std::vector< const ::sw::mark::IMark* > aArr; - sal_uInt16 nContent; + sal_Int32 nContent; const sal_Int32 nCurrentEnd = nCurrentPos + nLen; if( !GetWriter().GetBookmarks( rNd, nCurrentPos, nCurrentEnd, aArr )) return;