diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-09 15:47:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-10 12:56:14 +0100 |
commit | 32823280efffc02a250fc8d4749b8eb0f491ae77 (patch) | |
tree | d53b384498f6ba4c40b3449205eda96d45fc7c1e /sc/source/ui/view | |
parent | 617fb9eed92711639e4e632132a649f23ac2f3eb (diff) |
loplugin:unusedmethods
Change-Id: I543b0943f0bc918d59debc8ee051f88c29d18454
Reviewed-on: https://gerrit.libreoffice.org/44553
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 19 |
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 ), |