From b1d829e52e826b6ea4ae884a64fdb68b66c74dd7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 31 Jul 2017 17:16:27 +0100 Subject: move resmgr to unotools and the vast majority of translations is to the ui language so default ctor with that arg and now drop OModuleResourceClient Change-Id: I3b85a560ffdfe5f019c2271ac56a5fe4a361522b --- desktop/inc/app.hxx | 2 +- desktop/inc/dp_shared.hxx | 6 ++---- desktop/inc/pch/precompiled_sofficeapp.hxx | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'desktop/inc') diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index f4af4bcecc9d..50e3a0fa3811 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -25,8 +25,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/desktop/inc/dp_shared.hxx b/desktop/inc/dp_shared.hxx index 425cda8ea906..8c38545ed7fa 100644 --- a/desktop/inc/dp_shared.hxx +++ b/desktop/inc/dp_shared.hxx @@ -22,16 +22,14 @@ #include #include -#include -#include -#include +#include namespace dp { struct DeploymentLocale : public ::rtl::StaticWithInit { std::locale operator () () { - return Translate::Create("dkt", Application::GetSettings().GetUILanguageTag()); + return Translate::Create("dkt"); } }; diff --git a/desktop/inc/pch/precompiled_sofficeapp.hxx b/desktop/inc/pch/precompiled_sofficeapp.hxx index 95e6c6fa7892..efc3a6dcc909 100644 --- a/desktop/inc/pch/precompiled_sofficeapp.hxx +++ b/desktop/inc/pch/precompiled_sofficeapp.hxx @@ -246,7 +246,6 @@ #include #include #include -#include #include #include #include @@ -262,6 +261,7 @@ #include #include #include +#include #include #include -- cgit