From a012bc60f2b3933d9148c2dd595df691a7834ad4 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 18 Apr 2013 22:23:54 -0400 Subject: We can remove all this code now. This code is the old GETPIVOTDATA implementation, which actually parses the pivot table output on the sheet (ugh!) to get the right value. It was susceptible to the table output being configurable. Change-Id: Iefbefa06b91fc6cfa7a21f9a8031bf6841c1d936 --- sc/inc/dpobject.hxx | 2 -- sc/inc/dpoutput.hxx | 6 ------ 2 files changed, 8 deletions(-) (limited to 'sc/inc') diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index c217f1ed40ba..735b0334d8dc 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -183,8 +183,6 @@ public: const OUString& rDataFieldName, std::vector& rFilters); - bool GetPivotData( ScDPGetPivotDataField& rTarget, /* returns result */ - const std::vector< ScDPGetPivotDataField >& rFilters ); bool ParseFilters( ScDPGetPivotDataField& rTarget, std::vector< ScDPGetPivotDataField >& rFilters, const OUString& rFilterList ); diff --git a/sc/inc/dpoutput.hxx b/sc/inc/dpoutput.hxx index 49b9643c131b..293d93767356 100644 --- a/sc/inc/dpoutput.hxx +++ b/sc/inc/dpoutput.hxx @@ -143,12 +143,6 @@ public: field region. */ bool GetDataResultPositionData(::std::vector< ::com::sun::star::sheet::DataPilotFieldFilter >& rFilters, const ScAddress& rPos); - /** - * @return true on success and stores the result in rTarget, or false if - * rFilters or rTarget describe something that is not visible. - */ - bool GetPivotData( ScDPGetPivotDataField& rTarget, - const std::vector< ScDPGetPivotDataField >& rFilters ); long GetHeaderDim( const ScAddress& rPos, sal_uInt16& rOrient ); bool GetHeaderDrag( const ScAddress& rPos, bool bMouseLeft, bool bMouseTop, long nDragDim, -- cgit