From d981c7fa5500dab0d24a36506e706f4a40edf075 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 7 Dec 2014 00:41:44 +0100 Subject: remove invalid attribute that is not read anyway Change-Id: Id7770ffda49ba7bc0ebc780c67c56b81152213f7 --- include/xmloff/xmltoken.hxx | 1 - sc/source/filter/xml/XMLExportDataPilot.cxx | 2 -- xmloff/source/core/xmltoken.cxx | 1 - 3 files changed, 4 deletions(-) diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index 6dd7d1ca4494..88da5691ecb7 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -2609,7 +2609,6 @@ namespace xmloff { namespace token { XML_DATE_START, XML_DATE_END, XML_STEP, - XML_IS_GROUP_FIELD, XML_DATA_PILOT_GROUPS, XML_DATA_PILOT_GROUP, diff --git a/sc/source/filter/xml/XMLExportDataPilot.cxx b/sc/source/filter/xml/XMLExportDataPilot.cxx index cd711d4b0edb..4b9c9136652b 100644 --- a/sc/source/filter/xml/XMLExportDataPilot.cxx +++ b/sc/source/filter/xml/XMLExportDataPilot.cxx @@ -599,7 +599,6 @@ void ScXMLExportDataPilot::WriteGroupDimAttributes(const ScDPSaveGroupDimension* if (pGroupDim) { OUString aSrcFieldName = ScDPUtil::getSourceDimensionName(pGroupDim->GetSourceDimName()); - rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_IS_GROUP_FIELD, XML_TRUE); rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_SOURCE_FIELD_NAME, aSrcFieldName); if (pGroupDim->GetDatePart()) { @@ -613,7 +612,6 @@ void ScXMLExportDataPilot::WriteNumGroupDim(const ScDPSaveNumGroupDimension* pNu { if (pNumGroupDim) { - rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_IS_GROUP_FIELD, XML_TRUE); if (pNumGroupDim->GetDatePart()) { WriteDatePart(pNumGroupDim->GetDatePart()); diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index 555f24b88688..e39814d571fa 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -2614,7 +2614,6 @@ namespace xmloff { namespace token { TOKEN( "date-start", XML_DATE_START ), TOKEN( "date-end", XML_DATE_END ), TOKEN( "step", XML_STEP ), - TOKEN( "is-group-field", XML_IS_GROUP_FIELD ), TOKEN( "data-pilot-groups", XML_DATA_PILOT_GROUPS ), TOKEN( "data-pilot-group", XML_DATA_PILOT_GROUP ), TOKEN( "japanese-candle-stick", XML_JAPANESE_CANDLE_STICK ), -- cgit v1.2.3