summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/appoptio.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/appoptio.cxx')
-rw-r--r--sc/source/core/tool/appoptio.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/appoptio.cxx b/sc/source/core/tool/appoptio.cxx
index f66134c0d1c2..d3b56af9679f 100644
--- a/sc/source/core/tool/appoptio.cxx
+++ b/sc/source/core/tool/appoptio.cxx
@@ -145,13 +145,13 @@ static void lcl_SetLastFunctions( ScAppOptions& rOpt, const Any& rValue )
static void lcl_GetLastFunctions( Any& rDest, const ScAppOptions& rOpt )
{
- long nCount = rOpt.GetLRUFuncListCount();
+ tools::Long nCount = rOpt.GetLRUFuncListCount();
sal_uInt16* pUShorts = rOpt.GetLRUFuncList();
if ( nCount && pUShorts )
{
Sequence<sal_Int32> aSeq( nCount );
sal_Int32* pArray = aSeq.getArray();
- for (long i=0; i<nCount; i++)
+ for (tools::Long i=0; i<nCount; i++)
pArray[i] = pUShorts[i];
rDest <<= aSeq;
}
@@ -165,7 +165,7 @@ static void lcl_SetSortList( const Any& rValue )
if ( !(rValue >>= aSeq) )
return;
- long nCount = aSeq.getLength();
+ tools::Long nCount = aSeq.getLength();
const OUString* pArray = aSeq.getConstArray();
ScUserList aList;