From 3dbcd93977ffd6e0c5a38c34a8f292406e65d0e5 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sun, 23 Apr 2017 22:59:06 +0200 Subject: use translated string for "Total" label in pivot charts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic75224cb35c34b8be5504af1032cb326196e2306 Reviewed-on: https://gerrit.libreoffice.org/36866 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- sc/source/ui/unoobj/PivotTableDataProvider.cxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/sc/source/ui/unoobj/PivotTableDataProvider.cxx b/sc/source/ui/unoobj/PivotTableDataProvider.cxx index 7872870e08c4..be7e74c62a05 100644 --- a/sc/source/ui/unoobj/PivotTableDataProvider.cxx +++ b/sc/source/ui/unoobj/PivotTableDataProvider.cxx @@ -13,13 +13,15 @@ #include "PivotTableDataSource.hxx" #include "PivotTableDataSequence.hxx" -#include - #include "miscuno.hxx" #include "document.hxx" #include "unonames.hxx" #include "docsh.hxx" +#include "globstr.hrc" +#include "dpobject.hxx" +#include "hints.hxx" +#include #include #include @@ -34,10 +36,6 @@ #include #include -#include "dpobject.hxx" - -#include "hints.hxx" - #include #include @@ -600,7 +598,7 @@ uno::Reference if (m_aLabels.empty()) { - aLabel = "Total"; + aLabel = ScGlobal::GetRscString(STR_PIVOT_TOTAL); } else { -- cgit