summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei@openoffice.org>2009-11-18 20:01:54 +0000
committerKohei Yoshida <kohei@openoffice.org>2009-11-18 20:01:54 +0000
commit48cee6fff042f05a7cd5a1bc0f8f7f93f361da15 (patch)
treea6fd284d92b03332919d9174d67756b7823c45b1 /sc
parente90a5b82b8454c8c77a0bf50285e99cf25c631bd (diff)
Actually this is wrong.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/XMLExportDataPilot.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/sc/source/filter/xml/XMLExportDataPilot.cxx b/sc/source/filter/xml/XMLExportDataPilot.cxx
index 88c710ae9f11..97926ee7113f 100644
--- a/sc/source/filter/xml/XMLExportDataPilot.cxx
+++ b/sc/source/filter/xml/XMLExportDataPilot.cxx
@@ -830,21 +830,6 @@ void ScXMLExportDataPilot::WriteDataPilots(const uno::Reference <sheet::XSpreads
WriteGrandTotal(XML_COLUMN, bColumnGrand, pGrandTotalName);
}
}
- else
- {
- // custom grand total not present, or it's not ODF 1.2 extended.
- // Write it the old way.
- if (bRowGrand && bColumnGrand)
- {
- // Don't write anything. Grand totals are displayed for both row and column fields by default.
- }
- else if (bRowGrand)
- rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_GRAND_TOTAL, XML_ROW);
- else if (bColumnGrand)
- rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_GRAND_TOTAL, XML_COLUMN);
- else
- rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_GRAND_TOTAL, XML_NONE);
- }
rExport.CheckAttrList();
if ((*pDPs)[i]->IsSheetData())