diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-04-23 22:59:06 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-04-24 08:36:23 +0200 |
commit | 3dbcd93977ffd6e0c5a38c34a8f292406e65d0e5 (patch) | |
tree | 8b1244688bd43de0b13f74fa967bcaa2882d655c /sc | |
parent | a1909515e8f8b40483e92431ff9a179246a30045 (diff) |
use translated string for "Total" label in pivot charts
Change-Id: Ic75224cb35c34b8be5504af1032cb326196e2306
Reviewed-on: https://gerrit.libreoffice.org/36866
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/PivotTableDataProvider.cxx | 12 |
1 files 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 <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 { |