summaryrefslogtreecommitdiff
path: root/cui/source/factory/cuiresmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/factory/cuiresmgr.cxx')
-rw-r--r--cui/source/factory/cuiresmgr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/factory/cuiresmgr.cxx b/cui/source/factory/cuiresmgr.cxx
index 7a3b82f25335..b59f73cf8530 100644
--- a/cui/source/factory/cuiresmgr.cxx
+++ b/cui/source/factory/cuiresmgr.cxx
@@ -22,8 +22,7 @@
OUString CuiResId(const char *pKey)
{
- static std::locale loc(Translate::Create("cui"));
- return Translate::get(pKey, loc);
+ return Translate::get(pKey, Translate::Create("cui"));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */