diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2018-12-05 16:00:09 +0100 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2018-12-07 13:39:22 +0100 |
commit | 40144617ce05d7eff86eeb8a412c6991fe0b819e (patch) | |
tree | 4baebc95d1c2aa050eae8e6b62876f9071110f74 /chart2/source/view/main/VLegend.cxx | |
parent | a01ac385ed16fbe4239938c9d31462691707e87b (diff) |
tdf#114163 Chart: fix order of legend names
Respecting the axis direction in case of
normal/stacked/percent stacked Bar chart and
the legend names will be in the right order.
Change-Id: If782393a33e48dae32f919d137e1d1148a85b0b0
Reviewed-on: https://gerrit.libreoffice.org/64632
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'chart2/source/view/main/VLegend.cxx')
-rw-r--r-- | chart2/source/view/main/VLegend.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx index 52a4f78fd8c9..d201a2c72756 100644 --- a/chart2/source/view/main/VLegend.cxx +++ b/chart2/source/view/main/VLegend.cxx @@ -949,7 +949,7 @@ void VLegend::createShapes( { std::vector<ViewLegendEntry> aNewEntries = pLegendEntryProvider->createLegendEntries( aMaxSymbolExtent, eExpansion, xLegendProp, - xLegendContainer, m_xShapeFactory, m_xContext); + xLegendContainer, m_xShapeFactory, m_xContext, mrModel); aViewEntries.insert( aViewEntries.end(), aNewEntries.begin(), aNewEntries.end() ); } } |