summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/inc/WPFTResMgr.hxx2
-rw-r--r--writerperfect/source/common/WPFTResMgr.cxx5
2 files changed, 2 insertions, 5 deletions
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx
index 4b7bbf3e2a19..17bfc872731a 100644
--- a/writerperfect/inc/WPFTResMgr.hxx
+++ b/writerperfect/inc/WPFTResMgr.hxx
@@ -5,7 +5,7 @@
#include "writerperfectdllapi.h"
-#include <tools/resmgr.hxx>
+#include <unotools/resmgr.hxx>
struct WRITERPERFECT_DLLPUBLIC WPFTResLocale
{
diff --git a/writerperfect/source/common/WPFTResMgr.cxx b/writerperfect/source/common/WPFTResMgr.cxx
index c207d25ffca9..f61c470d8e17 100644
--- a/writerperfect/source/common/WPFTResMgr.cxx
+++ b/writerperfect/source/common/WPFTResMgr.cxx
@@ -2,12 +2,9 @@
#include "WPFTResMgr.hxx"
-#include <vcl/settings.hxx>
-#include <vcl/svapp.hxx>
-
std::locale &WPFTResLocale::GetResLocale()
{
- static std::locale loc(Translate::Create("wpt", Application::GetSettings().GetUILanguageTag()));
+ static std::locale loc(Translate::Create("wpt"));
return loc;
}