diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/svtresid.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/misc/svtresid.cxx b/svtools/source/misc/svtresid.cxx index f7cfdf8ba0f3..cc03beeb1dd3 100644 --- a/svtools/source/misc/svtresid.cxx +++ b/svtools/source/misc/svtresid.cxx @@ -20,10 +20,9 @@ #include <unotools/resmgr.hxx> #include <svtools/svtresid.hxx> -const std::locale& SvtResLocale() +std::locale SvtResLocale() { - static std::locale loc = Translate::Create("svt"); - return loc; + return Translate::Create("svt"); } OUString SvtResId(const char* pId) |