summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-28 23:59:24 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-29 00:15:01 +0200
commit3812e99e939e6f3d8a6246c7adaa01de4e5abb99 (patch)
tree711efe23dd714b5b9edb2521860f0fbb8a941a1f /oox
parent672398d84dcebba71ba996b07c7d47bb4257efef (diff)
another validation error with OOXML chart export
c:characters does not have an attribute val. The value has to be written out as normal string. Change-Id: Icd2c4034918bd223d0c8082a7d137e1ce79a9cfe
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 128ecebabfe7..9198924bdec5 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2368,7 +2368,9 @@ void ChartExport::exportDataLabels(
if (GetProperty( xPropSet, "LabelSeparator"))
{
mAny >>= aSep;
- pFS->singleElement( FSNS( XML_c, XML_separator), XML_val, USS(aSep), FSEND);
+ pFS->startElement( FSNS( XML_c, XML_separator), FSEND);
+ pFS->writeEscaped(aSep);
+ pFS->endElement( FSNS( XML_c, XML_separator) );
}
pFS->endElement( FSNS( XML_c, XML_dLbl ));
}