diff options
Diffstat (limited to 'xmloff/source/chart/SchXMLPlotAreaContext.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index 471478a824ae8..01fdcf769fb0a 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -591,9 +591,14 @@ SchXMLDataLabelSpanContext::SchXMLDataLabelSpanContext( SvXMLImport& rImport, co { } -void SchXMLDataLabelSpanContext::Characters(const OUString& sChars) +void SchXMLDataLabelSpanContext::Characters(const OUString& rChars) { - mrLabels.push_back(sChars); + maCharBuffer.append(rChars); +} + +void SchXMLDataLabelSpanContext::EndElement() +{ + mrLabels.push_back(maCharBuffer.makeStringAndClear()); } SchXMLDataLabelParaContext::SchXMLDataLabelParaContext( SvXMLImport& rImport, const OUString& rLocalName, ::std::vector<OUString>& rLabels): |