Removed code that's no longer relevant.
This commit is contained in:
parent
9d4b32ef3f
commit
c9cf2a6692
2 changed files with 3 additions and 20 deletions
|
@ -372,7 +372,7 @@ void ScXMLDataPilotTableContext::SetButtons()
|
|||
pDPObject->RefreshAfterLoad();
|
||||
}
|
||||
|
||||
void ScXMLDataPilotTableContext::AddDimension(ScDPSaveDimension* pDim, bool bHasHiddenMember)
|
||||
void ScXMLDataPilotTableContext::AddDimension(ScDPSaveDimension* pDim)
|
||||
{
|
||||
if (pDPSave)
|
||||
{
|
||||
|
@ -401,17 +401,6 @@ void ScXMLDataPilotTableContext::AddDimension(ScDPSaveDimension* pDim, bool bHas
|
|||
;
|
||||
}
|
||||
|
||||
if (bHasHiddenMember)
|
||||
{
|
||||
// the layout name takes priority over the original name,
|
||||
// since this data is used against cell values.
|
||||
const OUString* pLayoutName = pDim->GetLayoutName();
|
||||
if (pLayoutName)
|
||||
maHiddenMemberFields.insert(*pLayoutName);
|
||||
else
|
||||
maHiddenMemberFields.insert(pDim->GetName());
|
||||
}
|
||||
|
||||
pDPSave->AddDimension(pDim);
|
||||
}
|
||||
}
|
||||
|
@ -1080,7 +1069,7 @@ void ScXMLDataPilotFieldContext::EndElement()
|
|||
{
|
||||
pDim->SetCurrentPage(&sSelectedPage);
|
||||
}
|
||||
pDataPilotTable->AddDimension(pDim, mbHasHiddenMember);
|
||||
pDataPilotTable->AddDimension(pDim);
|
||||
if (bIsGroupField)
|
||||
{
|
||||
ScDPNumGroupInfo aInfo;
|
||||
|
|
|
@ -80,9 +80,6 @@ public:
|
|||
|
||||
class ScXMLDataPilotTableContext : public SvXMLImportContext
|
||||
{
|
||||
typedef ::boost::unordered_set< ::rtl::OUString, ::rtl::OUStringHash > StringSet;
|
||||
StringSet maHiddenMemberFields;
|
||||
|
||||
struct GrandTotalItem
|
||||
{
|
||||
::rtl::OUString maDisplayName;
|
||||
|
@ -161,13 +158,10 @@ public:
|
|||
void SetSourceRangeName(const rtl::OUString& sValue) { sSourceRangeName = sValue; bSourceCellRange = true; }
|
||||
void SetSourceCellRangeAddress(const ScRange& aValue) { aSourceCellRangeAddress = aValue; bSourceCellRange = sal_True; }
|
||||
void SetSourceQueryParam(const ScQueryParam& aValue) { aSourceQueryParam = aValue; }
|
||||
// void SetFilterUseRegularExpressions(const sal_Bool bValue) { aSourceQueryParam.bRegExp = bValue; }
|
||||
void SetFilterOutputPosition(const ScAddress& aValue) { aFilterOutputPosition = aValue; }
|
||||
void SetFilterCopyOutputData(const sal_Bool bValue) { bFilterCopyOutputData = bValue; }
|
||||
void SetFilterSourceRange(const ScRange& aValue) { aFilterSourceRange = aValue; }
|
||||
// void SetFilterIsCaseSensitive(const sal_Bool bValue) { aSourceQueryParam.bCaseSens = bValue; }
|
||||
// void SetFilterSkipDuplicates(const sal_Bool bValue) { aSourceQueryParam.bDuplicate = !bValue; }
|
||||
void AddDimension(ScDPSaveDimension* pDim, bool bHasHiddenMember);
|
||||
void AddDimension(ScDPSaveDimension* pDim);
|
||||
void AddGroupDim(const ScDPSaveNumGroupDimension& aNumGroupDim);
|
||||
void AddGroupDim(const ScDPSaveGroupDimension& aGroupDim);
|
||||
void SetButtons();
|
||||
|
|
Loading…
Reference in a new issue