summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-12-07 00:55:48 +0100
committerMichael Stahl <mstahl@redhat.com>2014-12-08 17:49:30 +0100
commite9681cc74fcb84ebd9d3e68bef8d3158cfbe45eb (patch)
treeb25fa306cd564f569408c12cf16ca68f8542adb5
parentb8159be15ae420d58dbf27dff0af80f2856a038f (diff)
correct order of xml elements, related fdo#45266
(cherry-picked from a26222f5af55e8ffe9784dd411485d3c5c72e983) Signed-off-by: Michael Stahl <mstahl@redhat.com> Change-Id: I03ea0e5bb064222e50dc08a682091ec3e23bf11d
-rw-r--r--sc/source/filter/xml/XMLExportDataPilot.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/XMLExportDataPilot.cxx b/sc/source/filter/xml/XMLExportDataPilot.cxx
index 4b9c9136652b..047934f342a1 100644
--- a/sc/source/filter/xml/XMLExportDataPilot.cxx
+++ b/sc/source/filter/xml/XMLExportDataPilot.cxx
@@ -699,8 +699,8 @@ void ScXMLExportDataPilot::WriteDimension(ScDPSaveDimension* pDim, const ScDPDim
rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_FUNCTION, sValueStr);
SvXMLElementExport aElemDPF(rExport, XML_NAMESPACE_TABLE, XML_DATA_PILOT_FIELD, true, true);
- WriteFieldReference(pDim);
WriteLevels(pDim);
+ WriteFieldReference(pDim);
if( pDim->GetOrientation() != sheet::DataPilotFieldOrientation_DATA )
WriteGroupDimElements(pDim, pDimData);
}