diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/bastyp/sfxresid.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/sfxresid.cxx b/sfx2/source/bastyp/sfxresid.cxx index aa7cd8d60f39..250494d52d09 100644 --- a/sfx2/source/bastyp/sfxresid.cxx +++ b/sfx2/source/bastyp/sfxresid.cxx @@ -17,14 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <sfx2/sfxresid.hxx> #include <unotools/resmgr.hxx> OUString SfxResId(const char* pId) { - static std::locale loc = Translate::Create("sfx"); - return Translate::get(pId, loc); + return Translate::get(pId, Translate::Create("sfx")); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |