[Libreoffice-commits] core.git: sc/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.co.uk
Thu May 4 07:38:40 UTC 2017
sc/source/ui/unoobj/PivotTableDataProvider.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 582c9949d53ac4845bdea50b06f1a47d948b9fb9
Author: Tomaž Vajngerl <tomaz.vajngerl at 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 <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Reviewed-by: Tomaž Vajngerl <quikee at 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,
More information about the Libreoffice-commits
mailing list