summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/resource/frm_resource.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/forms/source/resource/frm_resource.cxx b/forms/source/resource/frm_resource.cxx
index 4a3ff363abf6..aacea75a5811 100644
--- a/forms/source/resource/frm_resource.cxx
+++ b/forms/source/resource/frm_resource.cxx
@@ -18,10 +18,7 @@
*/
#include "frm_resource.hxx"
-#include <tools/resmgr.hxx>
-
-#include <vcl/svapp.hxx>
-#include <vcl/settings.hxx>
+#include <unotools/resmgr.hxx>
namespace frm
{
@@ -29,7 +26,7 @@ namespace frm
{
OUString loadString(const char* pResId)
{
- static std::locale loc = Translate::Create("frm", Application::GetSettings().GetUILanguageTag());
+ static std::locale loc = Translate::Create("frm");
return Translate::get(pResId, loc);
}
}