diff options
Diffstat (limited to 'forms/source/resource/frm_resource.cxx')
-rw-r--r-- | forms/source/resource/frm_resource.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/source/resource/frm_resource.cxx b/forms/source/resource/frm_resource.cxx index 21b440e55d2c..3375ce4ceae6 100644 --- a/forms/source/resource/frm_resource.cxx +++ b/forms/source/resource/frm_resource.cxx @@ -26,8 +26,7 @@ namespace frm { OUString loadString(const char* pResId) { - static std::locale loc = Translate::Create("frm"); - return Translate::get(pResId, loc); + return Translate::get(pResId, Translate::Create("frm")); } } } |