diff options
Diffstat (limited to 'sc/source/ui/view/tabview.cxx')
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index b0856d33343a..bcf2831995c0 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -2361,7 +2361,7 @@ void lcl_getGroupIndexes(const ScOutlineArray& rArray, SCCOLROW nStart, SCCOLROW void lcl_createGroupsData( SCCOLROW nHeaderIndex, SCCOLROW nEnd, tools::Long nSizePx, tools::Long nTotalPx, const ScOutlineArray& rArray, std::vector<size_t>& rGroupIndexes, - std::vector<long>& rGroupStartPositions, OStringBuffer& rGroupsBuffer) + std::vector<tools::Long>& rGroupStartPositions, OStringBuffer& rGroupsBuffer) { const size_t nGroupDepth = rArray.GetDepth(); // create string data for group controls @@ -2683,7 +2683,7 @@ void ScTabView::getRowColumnHeaders(const tools::Rectangle& rRectangle, tools::J rJsonWriter.put("groupLevels", static_cast<sal_Int64>(nRowGroupDepth)); } - std::vector<long> aRowGroupStartPositions(nRowGroupDepth, -nTotalPixels); + std::vector<tools::Long> aRowGroupStartPositions(nRowGroupDepth, -nTotalPixels); for (SCROW nRow = nStartRow + 1; nRow <= nEndRow; ++nRow) { // nSize will be 0 for hidden rows. @@ -2776,7 +2776,7 @@ void ScTabView::getRowColumnHeaders(const tools::Rectangle& rRectangle, tools::J rJsonWriter.put("groupLevels", static_cast<sal_Int64>(nColGroupDepth)); } - std::vector<long> aColGroupStartPositions(nColGroupDepth, -nTotalPixels); + std::vector<tools::Long> aColGroupStartPositions(nColGroupDepth, -nTotalPixels); nPrevSizePx = -1; for (SCCOL nCol = nStartCol + 1; nCol <= nEndCol; ++nCol) { |