diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-05-01 22:20:03 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-05-04 09:38:07 +0200 |
commit | 582c9949d53ac4845bdea50b06f1a47d948b9fb9 (patch) | |
tree | 54ea52fb3ef36f7cb0986257b54447ed53c745af /sc | |
parent | dd2a4069e50ec0a114173ffb811e736155614f9a (diff) |
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@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/PivotTableDataProvider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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, |