sc/source/ui/unoobj/PivotTableDataProvider.cxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
New commits: commit 3dbcd93977ffd6e0c5a38c34a8f292406e65d0e5 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Sun Apr 23 22:59:06 2017 +0200 use translated string for "Total" label in pivot charts Change-Id: Ic75224cb35c34b8be5504af1032cb326196e2306 Reviewed-on: https://gerrit.libreoffice.org/36866 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> 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 <vcl/svapp.hxx> - #include "miscuno.hxx" #include "document.hxx" #include "unonames.hxx" #include "docsh.hxx" +#include "globstr.hrc" +#include "dpobject.hxx" +#include "hints.hxx" +#include <vcl/svapp.hxx> #include <sfx2/objsh.hxx> #include <comphelper/sequence.hxx> @@ -34,10 +36,6 @@ #include <com/sun/star/sheet/XDataPilotMemberResults.hpp> #include <com/sun/star/sheet/MemberResultFlags.hpp> -#include "dpobject.hxx" - -#include "hints.hxx" - #include <com/sun/star/chart/ChartDataChangeEvent.hpp> #include <unordered_map> @@ -600,7 +598,7 @@ uno::Reference<chart2::data::XDataSource> if (m_aLabels.empty()) { - aLabel = "Total"; + aLabel = ScGlobal::GetRscString(STR_PIVOT_TOTAL); } else {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits