summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/modulepcr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/modulepcr.cxx')
-rw-r--r--extensions/source/propctrlr/modulepcr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/modulepcr.cxx b/extensions/source/propctrlr/modulepcr.cxx
index 56931b21bc14..8fedf6499ad0 100644
--- a/extensions/source/propctrlr/modulepcr.cxx
+++ b/extensions/source/propctrlr/modulepcr.cxx
@@ -21,7 +21,7 @@
#include <rtl/instance.hxx>
#include <osl/getglobalmutex.hxx>
-#include <tools/resmgr.hxx>
+#include <unotools/resmgr.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
@@ -44,7 +44,6 @@ namespace pcr
};
PcrModule::PcrModule()
- :BaseClass( OString( "pcr" ), Application::GetSettings().GetUILanguageTag() )
{
}
@@ -56,7 +55,8 @@ namespace pcr
OUString PcrRes(const char* pId)
{
- return Translate::get(pId, PcrModule::getInstance().getResLocale());
+ static std::locale loc = Translate::Create("pcr");
+ return Translate::get(pId, loc);
}
} // namespace pcr