From d3a5a97f77378421f17b1fa43d0b88dde8bc686a Mon Sep 17 00:00:00 2001 From: Andrea Rosetti Date: Wed, 30 Nov 2022 15:32:25 +0100 Subject: tdf#114441 Convert sal_uLong to a better type Used sal_Int32 instead of sal_uLong Change-Id: I229c4e59054b3aa1885698d1cd5332ebd9d162d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143513 Tested-by: Jenkins Reviewed-by: Hossein --- editeng/source/items/svxfont.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng') diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index b484a645a7f6..b57449f3c359 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -789,7 +789,7 @@ void SvxDoDrawCapital::DoSpace( const bool bDraw ) if ( !(bDraw || pFont->IsWordLineMode()) ) return; - sal_uLong nDiff = static_cast(aPos.X() - aSpacePos.X()); + sal_Int32 nDiff = static_cast(aPos.X() - aSpacePos.X()); if ( nDiff ) { bool bWordWise = pFont->IsWordLineMode(); -- cgit