tdf#114441 Use sal_int32 instead of sal_uLong
Changed data type from sal_uLong to sal_Int32. The constant value is fixed at 1000. Change-Id: Iddc0aafb252ca44feb8ae018de18296b8b46769b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173753 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
committed by
Ilmari Lauhakangas
parent
d5b76e32f9
commit
51fdc8eccd
@@ -636,7 +636,7 @@ SwUnoCursorHelper::SetCursorPropertyValue(
|
||||
SwFormatColl *
|
||||
SwUnoCursorHelper::GetCurTextFormatColl(SwPaM & rPaM, const bool bConditional)
|
||||
{
|
||||
static const sal_uLong nMaxLookup = 1000;
|
||||
static constexpr sal_Int32 nMaxLookup = 1000;
|
||||
SwFormatColl *pFormat = nullptr;
|
||||
bool bError = false;
|
||||
SwPaM *pTmpCursor = &rPaM;
|
||||
|
@@ -307,7 +307,7 @@ void SwUnoCursorHelper::SetCursorAttr(SwPaM & rPam,
|
||||
void SwUnoCursorHelper::GetCursorAttr(SwPaM & rPam,
|
||||
SfxItemSet & rSet, const bool bOnlyTextAttr, const bool bGetFromChrFormat)
|
||||
{
|
||||
static const sal_uLong nMaxLookup = 1000;
|
||||
static constexpr sal_Int32 nMaxLookup = 1000;
|
||||
SfxItemSet aSet( *rSet.GetPool(), rSet.GetRanges() );
|
||||
SfxItemSet *pSet = &rSet;
|
||||
for(SwPaM& rCurrent : rPam.GetRingContainer())
|
||||
|
Reference in New Issue
Block a user