summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-09 13:07:51 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-09 13:08:48 +0100
commitb68f14a7cabd535dc044715bad4f1f6347450ffe (patch)
tree81636885989010c2f05f64ba175113209813568d /sc
parent67e69a55820f50973ca0de75ccab2bb07d0bada8 (diff)
Remove unused functions (callcatcher)
ThumbnailView::deselectItem(unsigned short) XclExpPivotCache::GetFieldAcc(rtl::OUString const&) Change-Id: I88d79c7c1eede9544a4232e467a54629e4976798
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xepivot.cxx9
-rw-r--r--sc/source/filter/inc/xepivot.hxx2
2 files changed, 0 insertions, 11 deletions
diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx
index 85fa8fa121c2..3402fbcaad9c 100644
--- a/sc/source/filter/excel/xepivot.cxx
+++ b/sc/source/filter/excel/xepivot.cxx
@@ -777,15 +777,6 @@ XclExpPCField* XclExpPivotCache::GetFieldAcc( sal_uInt16 nFieldIdx )
return maFieldList.GetRecord( nFieldIdx ).get();
}
-XclExpPCField* XclExpPivotCache::GetFieldAcc( const rtl::OUString& rFieldName )
-{
- XclExpPCField* pField = 0;
- for( size_t nPos = 0, nSize = maFieldList.GetSize(); !pField && (nPos < nSize); ++nPos )
- if( maFieldList.GetRecord( nPos )->GetFieldName() == rFieldName )
- pField = maFieldList.GetRecord( nPos ).get();
- return pField;
-}
-
void XclExpPivotCache::AddFields( const ScDPObject& rDPObj )
{
AddStdFields( rDPObj );
diff --git a/sc/source/filter/inc/xepivot.hxx b/sc/source/filter/inc/xepivot.hxx
index 41965c2a63a5..080eab7aef29 100644
--- a/sc/source/filter/inc/xepivot.hxx
+++ b/sc/source/filter/inc/xepivot.hxx
@@ -199,8 +199,6 @@ public:
private:
/** Returns read/write access to a pivot cache field. */
XclExpPCField* GetFieldAcc( sal_uInt16 nFieldIdx );
- /** Returns read/write access to a pivot cache field. */
- XclExpPCField* GetFieldAcc( const rtl::OUString& rFieldName );
/** Adds all pivot cache fields. */
void AddFields( const ScDPObject& rDPObj );