sc/source/ui/unoobj/PivotTableDataProvider.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 582c9949d53ac4845bdea50b06f1a47d948b9fb9 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Mon May 1 22:20:03 2017 +0200 pc: top (first) categories are located at the last index in vector Change-Id: I30f276fb96bc6999e6cd3ca661d0b1dc4a27950c Reviewed-on: https://gerrit.libreoffice.org/37210 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/sc/source/ui/unoobj/PivotTableDataProvider.cxx b/sc/source/ui/unoobj/PivotTableDataProvider.cxx index 34141bf1675a..f02b1361109f 100644 --- a/sc/source/ui/unoobj/PivotTableDataProvider.cxx +++ b/sc/source/ui/unoobj/PivotTableDataProvider.cxx @@ -631,7 +631,7 @@ css::uno::Reference<css::chart2::data::XDataSequence> if (m_aCategoriesColumnOrientation.empty()) return xDataSequence; - std::vector<ValueAndFormat> const & rCategories = m_aCategoriesColumnOrientation[0]; + std::vector<ValueAndFormat> const & rCategories = m_aCategoriesColumnOrientation.back(); std::unique_ptr<PivotTableDataSequence> pSequence; pSequence.reset(new PivotTableDataSequence(m_pDocument, m_sPivotTableName,
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits