diff options
author | AmosAidoo <aidooamos20@gmail.com> | 2024-01-22 20:18:14 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2024-01-23 08:04:55 +0100 |
commit | e3d03fa00d49c164ec235d77c827109eac522623 (patch) | |
tree | 369e900d2a25102b1987f74c96c029e726c59ecb /svx/source/svdraw/svdmark.cxx | |
parent | eb6634fdda76f6bc2909b01770f4ebe28873e7af (diff) |
tdf#114441 convert sal_uLong to appropriate types
svdfmtf.cxx and .hxx
GetActionSize returns a size_t value
The parameter 'a' is compared to a size_t value
svdmark.cxx
GetOrdNum returns a sal_uInt32 value
svdview.cxx
GetLineCount returns a sal_uInt32 value
Change-Id: I85a0303742607208fdbfb7783e7254847720a2c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162416
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'svx/source/svdraw/svdmark.cxx')
-rw-r--r-- | svx/source/svdraw/svdmark.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdmark.cxx b/svx/source/svdraw/svdmark.cxx index c6151ccfd89d..fc5d815ab9a2 100644 --- a/svx/source/svdraw/svdmark.cxx +++ b/svx/source/svdraw/svdmark.cxx @@ -292,8 +292,8 @@ void SdrMarkList::InsertEntry(const SdrMark& rMark, bool bChkSort) if(pLastOL == pNewOL) { - const sal_uLong nLastNum(pLastObj!=nullptr ? pLastObj->GetOrdNum() : 0); - const sal_uLong nNewNum(pNewObj !=nullptr ? pNewObj ->GetOrdNum() : 0); + const sal_uInt32 nLastNum(pLastObj!=nullptr ? pLastObj->GetOrdNum() : 0); + const sal_uInt32 nNewNum(pNewObj !=nullptr ? pNewObj ->GetOrdNum() : 0); if(nNewNum < nLastNum) { |