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.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/modulepcr.cxx b/extensions/source/propctrlr/modulepcr.cxx
index 8fedf6499ad0..a7da05f3e947 100644
--- a/extensions/source/propctrlr/modulepcr.cxx
+++ b/extensions/source/propctrlr/modulepcr.cxx
@@ -55,8 +55,7 @@ namespace pcr
OUString PcrRes(const char* pId)
{
- static std::locale loc = Translate::Create("pcr");
- return Translate::get(pId, loc);
+ return Translate::get(pId, Translate::Create("pcr"));
}
} // namespace pcr