summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpshttab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/dpshttab.cxx')
-rw-r--r--sc/source/core/data/dpshttab.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/data/dpshttab.cxx b/sc/source/core/data/dpshttab.cxx
index 607c55879224..c15ba043fffe 100644
--- a/sc/source/core/data/dpshttab.cxx
+++ b/sc/source/core/data/dpshttab.cxx
@@ -73,13 +73,13 @@ void ScSheetDPData::DisposeData()
aCacheTable.clear();
}
-tools::Long ScSheetDPData::GetColumnCount()
+sal_Int32 ScSheetDPData::GetColumnCount()
{
CreateCacheTable();
return aCacheTable.getColSize();
}
-OUString ScSheetDPData::getDimensionName(tools::Long nColumn)
+OUString ScSheetDPData::getDimensionName(sal_Int32 nColumn)
{
CreateCacheTable();
if (getIsDataLayoutDimension(nColumn))
@@ -99,7 +99,7 @@ OUString ScSheetDPData::getDimensionName(tools::Long nColumn)
}
}
-bool ScSheetDPData::IsDateDimension(tools::Long nDim)
+bool ScSheetDPData::IsDateDimension(sal_Int32 nDim)
{
CreateCacheTable();
tools::Long nColCount = aCacheTable.getColSize();
@@ -118,7 +118,7 @@ bool ScSheetDPData::IsDateDimension(tools::Long nDim)
}
}
-sal_uInt32 ScSheetDPData::GetNumberFormat(tools::Long nDim)
+sal_uInt32 ScSheetDPData::GetNumberFormat(sal_Int32 nDim)
{
CreateCacheTable();
if (getIsDataLayoutDimension(nDim))
@@ -146,7 +146,7 @@ sal_uInt32 ScDPTableData::GetNumberFormatByIdx( NfIndexTableOffset eIdx )
return 0;
}
-bool ScSheetDPData::getIsDataLayoutDimension(tools::Long nColumn)
+bool ScSheetDPData::getIsDataLayoutDimension(sal_Int32 nColumn)
{
CreateCacheTable();
return (nColumn ==static_cast<tools::Long>( aCacheTable.getColSize()));