diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2019-02-08 11:24:07 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-02-12 10:15:27 +0100 |
commit | de73efb96fbb1d268caea0f41acbe20a234ec59f (patch) | |
tree | 7260740f62faaebdc65f1a1fbef7ed2eddd69fe0 /oox | |
parent | e41b09d0126ecb28cff277c9b4b40eae7cc7c3f4 (diff) |
tdf#122226 OOXML Chart Import: data label new line separator
Set the data label separator to "new line" if there is not
present explicit point separator, just like in MS Office.
Change-Id: I9ee0fb9f98fc1bb322892616af50954f4f8db0f9
Reviewed-on: https://gerrit.libreoffice.org/67533
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/seriesconverter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx index 716a0b234bdd..8fd572d98faf 100644 --- a/oox/source/drawingml/chart/seriesconverter.cxx +++ b/oox/source/drawingml/chart/seriesconverter.cxx @@ -183,7 +183,7 @@ void lclConvertLabelFormatting( PropertySet& rPropSet, ObjectFormatter& rFormatt // data label separator (do not overwrite series separator, if no explicit point separator is present) if( bDataSeriesLabel || rDataLabel.moaSeparator.has() ) - rPropSet.setProperty( PROP_LabelSeparator, rDataLabel.moaSeparator.get( "; " ) ); + rPropSet.setProperty( PROP_LabelSeparator, rDataLabel.moaSeparator.get( "\n" ) ); // data label placement (do not overwrite series placement, if no explicit point placement is present) if( bDataSeriesLabel || rDataLabel.monLabelPos.has() ) |