[Libreoffice-commits] core.git: xmloff/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Thu Mar 13 17:16:23 PDT 2014


 xmloff/source/chart/PropertyMap.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 12ae7672f285da1d4c730315e8db23b3396b71cc
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Fri Mar 14 01:13:19 2014 +0100

    fix odf validation error
    
    New elements must not be exported into the chart namespace.
    
    Change-Id: I295d61224e255dff04ea8564b01a5a438876afc1

diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx
index b0118a1..81a18dd 100644
--- a/xmloff/source/chart/PropertyMap.hxx
+++ b/xmloff/source/chart/PropertyMap.hxx
@@ -218,7 +218,8 @@ const XMLPropertyMapEntry aXMLChartPropMap[] =
     MAP_SPECIAL_ODF12( "ErrorBarRangeNegative", CHART, XML_ERROR_LOWER_RANGE, XML_TYPE_STRING, XML_SCH_CONTEXT_SPECIAL_ERRORBAR_RANGE ), // export only
 
     // errorbars properties (chart2)
-    MAP_ENTRY_ODF_EXT( "Weight", CHART, XML_ERROR_STANDARD_WEIGHT, XML_TYPE_DOUBLE),
+    MAP_ENTRY_ODF_EXT( "Weight", LO_EXT, XML_ERROR_STANDARD_WEIGHT, XML_TYPE_DOUBLE),
+    MAP_ENTRY_ODF_EXT_IMPORT( "Weight", CHART, XML_ERROR_STANDARD_WEIGHT, XML_TYPE_DOUBLE),
 
     // series/data-point properties
     MAP_SPECIAL( "DataCaption", CHART, XML_DATA_LABEL_NUMBER, XML_TYPE_NUMBER | MID_FLAG_MERGE_PROPERTY, XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER ),   // convert one constant


More information about the Libreoffice-commits mailing list