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/ChartTools.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/ChartTools.cxx')
-rw-r--r-- | sc/source/ui/unoobj/ChartTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/ChartTools.cxx b/sc/source/ui/unoobj/ChartTools.cxx index 5bb960d7491a..b1763699334c 100644 --- a/sc/source/ui/unoobj/ChartTools.cxx +++ b/sc/source/ui/unoobj/ChartTools.cxx @@ -117,7 +117,7 @@ SdrOle2Obj* findChartsByName(ScDocShell* pDocShell, SCTAB nTab, OUString const & return nullptr; } -SdrOle2Obj* getChartByIndex(ScDocShell* pDocShell, SCTAB nTab, long nIndex, ChartSourceType eChartSourceType) +SdrOle2Obj* getChartByIndex(ScDocShell* pDocShell, SCTAB nTab, ::tools::Long nIndex, ChartSourceType eChartSourceType) { if (!pDocShell) return nullptr; @@ -125,7 +125,7 @@ SdrOle2Obj* getChartByIndex(ScDocShell* pDocShell, SCTAB nTab, long nIndex, Char ChartIterator aIterator(pDocShell, nTab, eChartSourceType); SdrOle2Obj* pObject = aIterator.next(); - long i = 0; + ::tools::Long i = 0; while (pObject) { if (i == nIndex) |