sw/source/core/text/itradj.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5fc2ef45531cb4777712109433cc3f655a2f7b1c Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Oct 11 09:10:42 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Oct 11 11:22:33 2021 +0200 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 <caol...@redhat.com> 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() )