diff options
author | Andrea Rosetti <andreamassimo03@gmail.com> | 2022-11-30 15:32:25 +0100 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2023-01-03 22:42:13 +0000 |
commit | d3a5a97f77378421f17b1fa43d0b88dde8bc686a (patch) | |
tree | 28e114b1cc79a386bfad15a2cac9d70489967a78 /editeng | |
parent | c95f7c6bf705ea84e1f8da40042b382189e7179a (diff) |
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 <hossein@libreoffice.org>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/svxfont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<sal_uLong>(aPos.X() - aSpacePos.X()); + sal_Int32 nDiff = static_cast<sal_Int32>(aPos.X() - aSpacePos.X()); if ( nDiff ) { bool bWordWise = pFont->IsWordLineMode(); |