diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-19 15:17:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-20 08:04:35 +0200 |
commit | b225980d2d65694278c9ed89512fbe21b08febd6 (patch) | |
tree | acd7e008fdabbed097fd97f6c4ba8ddc366946bb /sc/source/ui/unoobj/nameuno.cxx | |
parent | 6eefea359fe1e51adfd4a2002614013a7c060a33 (diff) |
use tools::Long in sc
Change-Id: I8f37a8d1174ed816df971b8cee036d4e88d4a7fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104526
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/nameuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/nameuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx index 4dafd1dc2185..26b16368ef25 100644 --- a/sc/source/ui/unoobj/nameuno.cxx +++ b/sc/source/ui/unoobj/nameuno.cxx @@ -579,7 +579,7 @@ uno::Reference<container::XEnumeration> SAL_CALL ScNamedRangesObj::createEnumera sal_Int32 SAL_CALL ScNamedRangesObj::getCount() { SolarMutexGuard aGuard; - long nRet = 0; + tools::Long nRet = 0; if (pDocShell) { ScRangeName* pNames = GetRangeName_Impl(); @@ -662,7 +662,7 @@ uno::Sequence<OUString> SAL_CALL ScNamedRangesObj::getElementNames() ScRangeName* pNames = GetRangeName_Impl(); if (pNames) { - long nVisCount = getCount(); // names with lcl_UserVisibleName + tools::Long nVisCount = getCount(); // names with lcl_UserVisibleName uno::Sequence<OUString> aSeq(nVisCount); OUString* pAry = aSeq.getArray(); sal_uInt16 nVisPos = 0; |