diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-08-14 17:38:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-15 08:16:32 +0200 |
commit | 5dde7a14a2bfc4c29f5f60b7e47fdc7046ede0b0 (patch) | |
tree | d11aa270dafb3ead9281869170628637e3cedc40 /sw | |
parent | 6c00d75738bb182b5c02848b1720e6623baed4b9 (diff) |
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.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |