diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-11 09:10:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-11 11:22:33 +0200 |
commit | 5fc2ef45531cb4777712109433cc3f655a2f7b1c (patch) | |
tree | f2b0f2c857bcb1f58e74c9b2fb4a25d10d7e9551 /sw/source | |
parent | 64937ff98a970050b0d5d89e3a4734d93e13ad00 (diff) |
cid#1492337 Unintended sign extension
Change-Id: Ic5956d1c87a1461fcd1555767f7f83123b87b5e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123367
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/text/itradj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/itradj.cxx b/sw/source/core/text/itradj.cxx index 35f88bb46326..d664602bf3ce 100644 --- a/sw/source/core/text/itradj.cxx +++ b/sw/source/core/text/itradj.cxx @@ -513,7 +513,7 @@ SwTwips SwTextAdjuster::CalcKanaAdj( SwLineLayout* pCurrent ) // get maximum portion width from info structure, calculated // during text formatting - sal_uInt16 nMaxWidthDiff = GetInfo().GetMaxWidthDiff( pPos ); + SwTwips nMaxWidthDiff = GetInfo().GetMaxWidthDiff( pPos ); // check, if information is stored under other key if ( !nMaxWidthDiff && pPos == pCurrent->GetFirstPortion() ) |