summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpcachetable.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2009-08-25 13:53:16 +0000
committerVladimir Glazounov <vg@openoffice.org>2009-08-25 13:53:16 +0000
commitbb89c4132f4b2c9e8d071eb8812e2a28e89ac8aa (patch)
treea533ccdde0dbe2913bb1257e4d41c68fcd3f9058 /sc/source/core/data/dpcachetable.cxx
parent9e8e36433e326a33d9c69de35b4e5dfdbe7b7cc5 (diff)
CWS-TOOLING: integrate CWS koheicoderemoval02
2009-07-24 Kohei Yoshida Resurrected one method that was now used after the rebase. Now the entire sc module builds. 2009-07-24 Kohei Yoshida Rebased to DEV300_m53. 2009-07-23 Kohei Yoshida resolved conflict during merge to DEV300_m52. 2009-05-09 Kohei Yoshida #i95953# partially applied Caolan's patch. 2009-05-09 Kohei Yoshida #i101326# Removed old pivot implementation code that was already disabled. 2009-05-09 Kohei Yoshida More unused methods commented out. 2009-05-09 Kohei Yoshida More unused methods commented out. 2009-05-08 Kohei Yoshida Removed more unused methods, mostly related to binfilter methods. 2009-05-08 Kohei Yoshida #i95953# the first round of unused method removal, based solely on Caolan's list. All removed methods were double-checked manually to make sure they are really unused, followed by a build test with debug on.
Diffstat (limited to 'sc/source/core/data/dpcachetable.cxx')
-rw-r--r--sc/source/core/data/dpcachetable.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/sc/source/core/data/dpcachetable.cxx b/sc/source/core/data/dpcachetable.cxx
index a27c16d9e..015c6512d 100644
--- a/sc/source/core/data/dpcachetable.cxx
+++ b/sc/source/core/data/dpcachetable.cxx
@@ -522,23 +522,6 @@ const String* ScDPCacheTable::getFieldName(sal_Int32 nIndex) const
return mrSharedString.getString(maHeader[nIndex]);
}
-sal_Int32 ScDPCacheTable::getFieldIndex(const String& rStr) const
-{
- sal_Int32 nStrId = mrSharedString.getStringId(rStr);
- if (nStrId < 0)
- // string not found.
- return nStrId;
-
- sal_Int32 n = maHeader.size();
- for (sal_Int32 i = 0; i < n; ++i)
- {
- if (maHeader[i] == nStrId)
- return i;
- }
-
- return -1;
-}
-
const TypedScStrCollection& ScDPCacheTable::getFieldEntries(sal_Int32 nIndex) const
{
if (nIndex < 0 || static_cast<size_t>(nIndex) >= maFieldEntries.size())
@@ -638,14 +621,6 @@ void ScDPCacheTable::clear()
maRowsVisible.clear();
}
-void ScDPCacheTable::swap(ScDPCacheTable& rOther)
-{
- maTable.swap(rOther.maTable);
- maHeader.swap(rOther.maHeader);
- maFieldEntries.swap(rOther.maFieldEntries);
- maRowsVisible.swap(rOther.maRowsVisible);
-}
-
bool ScDPCacheTable::empty() const
{
return maTable.empty();