summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r--sc/source/ui/view/viewdata.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 656af7c880d1..ffe32d905f9a 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -134,18 +134,6 @@ void ScPositionHelper::removeByIndex(index_type nIndex)
"ScPositionHelper::remove: after erase: size: " << mData.size());
}
-void ScPositionHelper::removeByPosition(long nPos)
-{
- SAL_INFO("sc.lok.poshelper", "ScPositionHelper::remove: nPos: " << nPos
- << ", size: " << mData.size());
- auto it = mData.find(std::make_pair(null, nPos));
- if (it == mData.end() || it->first <= 0)
- return;
- mData.erase(it);
- SAL_INFO("sc.lok.poshelper",
- "ScPositionHelper::remove: after erase: size: " << mData.size());
-}
-
void ScPositionHelper::invalidateByIndex(index_type nIndex)
{
SAL_INFO("sc.lok.poshelper", "ScPositionHelper::invalidate: nIndex: " << nIndex);
@@ -243,13 +231,6 @@ long ScPositionHelper::getPosition(index_type nIndex) const
return it->second;
}
-ScPositionHelper::index_type ScPositionHelper::getIndex(long nPos) const
-{
- auto it = mData.find(std::make_pair(null, nPos));
- if (it == mData.end()) return null;
- return it->first;
-}
-
ScViewDataTable::ScViewDataTable() :
eZoomType( SvxZoomType::PERCENT ),
aZoomX( 1,1 ),