summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/misc/getstringresource.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/misc/getstringresource.cxx b/svl/source/misc/getstringresource.cxx
index c452b6612651..9b0f14882b61 100644
--- a/svl/source/misc/getstringresource.cxx
+++ b/svl/source/misc/getstringresource.cxx
@@ -28,8 +28,7 @@
OUString SvlResId(const char* id)
{
- static std::locale loc = Translate::Create("svl");
- return Translate::get(id, loc);
+ return Translate::get(id, Translate::Create("svl"));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */