summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-08-14 17:38:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-15 08:16:32 +0200
commit5dde7a14a2bfc4c29f5f60b7e47fdc7046ede0b0 (patch)
treed11aa270dafb3ead9281869170628637e3cedc40
parentchart2: InsertDataTableDialog for inserting/removing the data table (diff)
downloadcore-5dde7a14a2bfc4c29f5f60b7e47fdc7046ede0b0.tar.gz
core-5dde7a14a2bfc4c29f5f60b7e47fdc7046ede0b0.zip
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>
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx2
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;