summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga991@gmail.com>2019-07-09 13:30:16 +0200
committerLászló Németh <nemeth@numbertext.org>2019-07-15 11:38:13 +0200
commit8906275d40a1828db684e7d9c9bc4934a937bc6c (patch)
tree01ea8fdba738d85090d9c975a18d8276eafae73e /chart2/source
parent040f348ee00a0d01653b3071be3d9886a08f87fe (diff)
tdf#126193 Chart OOXML: Export Multi-level category labels
Fix export of Multi-level category axis labels with the correct OOXML tags (as the OOXML Standard requested) in the correct order. Also fix tdf#126195: but only the export part of the whole fault, which combined (united) the text of the category axis labels at different levels. Change-Id: Iefcef00818a3bb2ee1671bf693335904be471722 Reviewed-on: https://gerrit.libreoffice.org/75299 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/tools/InternalDataProvider.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx
index 86c163e02c4e..5bea86b2d7d3 100644
--- a/chart2/source/tools/InternalDataProvider.cxx
+++ b/chart2/source/tools/InternalDataProvider.cxx
@@ -899,6 +899,7 @@ Sequence< uno::Any > SAL_CALL InternalDataProvider::getDataByRangeRepresentation
}
else
{
+ // Maybe this 'else' part and the functions is not necessary anymore.
Sequence< OUString > aLabels = m_bDataInColumns ? getRowDescriptions() : getColumnDescriptions();
aResult.realloc( aLabels.getLength() );
transform( aLabels.begin(), aLabels.end(),