summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-04-24 00:09:08 +0200
committerTomaž Vajngerl <quikee@gmail.com>2017-04-24 08:36:45 +0200
commitc45358e928b9b9419bba10a0fcb661696cb7647a (patch)
tree4d1814a53edd0df80d5c1abdce5812816e6b608a /sc/inc
parent3dbcd93977ffd6e0c5a38c34a8f292406e65d0e5 (diff)
preserve "Total" label on round-trip, remove code duplication
Change-Id: Ic4e682f2193291798a3ebbf5a7f3f435d40a0645 Reviewed-on: https://gerrit.libreoffice.org/36867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/PivotTableDataProvider.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/inc/PivotTableDataProvider.hxx b/sc/inc/PivotTableDataProvider.hxx
index 1a88939c7a3e..06d6778a8661 100644
--- a/sc/inc/PivotTableDataProvider.hxx
+++ b/sc/inc/PivotTableDataProvider.hxx
@@ -153,11 +153,9 @@ private:
OUString const & sRoleLabel, OUString const & sIdLabel,
std::vector<ValueAndFormat> const & rLabel);
- void assignLabelsToDataSequence(css::uno::Reference<css::chart2::data::XDataSequence> & rDataSequence,
- size_t nIndex);
+ css::uno::Reference<css::chart2::data::XDataSequence> assignLabelsToDataSequence(size_t nIndex);
- void assignValuesToDataSequence(css::uno::Reference<css::chart2::data::XDataSequence> & rDataSequence,
- size_t nIndex);
+ css::uno::Reference<css::chart2::data::XDataSequence> assignValuesToDataSequence(size_t nIndex);
void collectPivotTableData();