Commits

Anonymous committed 5d665d0

koheichart02: Let's use <chart:class chart:name="..."/> instead of <chart:type .../>.

  • Participants
  • Parent commits 4fb6f26

Comments (0)

Files changed (1)

xmloff/source/chart/SchXMLExport.cxx

                 if (bExportContent)
                 {
                     AddAutoStyleAttribute(aPropertyStates);
-                    mrExport.AddAttribute(XML_NAMESPACE_CHART, XML_CLASS, aChartTypeQName);
-                    SvXMLElementExport aElem(mrExport, XML_NAMESPACE_CHART, XML_TYPE, true, true);
+                    mrExport.AddAttribute(XML_NAMESPACE_CHART, XML_NAME, aChartTypeQName);
+                    SvXMLElementExport aElem(mrExport, XML_NAMESPACE_CHART, XML_CLASS, true, true);
                 }
                 else
                     CollectAutoStyle(aPropertyStates);