1. mst
  2. ooo340

Commits

Ingrid Halama  committed 97b2b65

chart50: #i114149# ODF: export missing attribute dimension to element chart:error-indicator

  • Participants
  • Parent commits ef42ac9
  • Branches default

Comments (0)

Files changed (1)

File xmloff/source/chart/SchXMLExport.cxx

View file
  • Ignore whitespace
                                 {
                                     // add style name attribute
                                     AddAutoStyleAttribute( aPropertyStates );
+
+                                    const SvtSaveOptions::ODFDefaultVersion nCurrentVersion( SvtSaveOptions().GetODFDefaultVersion() );
+                                    if( nCurrentVersion >= SvtSaveOptions::ODFVER_012 )
+                                        mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_DIMENSION, XML_Y );//#i114149#
                                     SvXMLElementExport( mrExport, XML_NAMESPACE_CHART, XML_ERROR_INDICATOR, sal_True, sal_True );
                                 }
                                 else	// autostyles