diff options
author | Ingrid Halama <iha@openoffice.org> | 2010-08-27 16:46:26 +0200 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2010-08-27 16:46:26 +0200 |
commit | 5dbf2ba7756c79430fd859a8f18f2b6cabcb6808 (patch) | |
tree | e0c471592f6f2a3e54ccabeaafc7be88e4c95d7f | |
parent | 4fb9b36c4bda2469de627b8b5081690cf712aa22 (diff) |
chart50: #i114149# ODF: export missing attribute dimension to element chart:error-indicator
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 2a8978574f..7533422300 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -3053,6 +3053,10 @@ void SchXMLExportHelper_Impl::exportSeries( { // 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 |