diff options
Diffstat (limited to 'sccomp/source/solver/SwarmSolver.cxx')
-rw-r--r-- | sccomp/source/solver/SwarmSolver.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sccomp/source/solver/SwarmSolver.cxx b/sccomp/source/solver/SwarmSolver.cxx index eba55c87da2f..ba89367db54b 100644 --- a/sccomp/source/solver/SwarmSolver.cxx +++ b/sccomp/source/solver/SwarmSolver.cxx @@ -283,8 +283,7 @@ OUString SwarmSolver::getResourceString(const char* pId) if (!pId) return sString; - static std::locale aLocale = Translate::Create("scc"); - return Translate::get(pId, aLocale); + return Translate::get(pId, Translate::Create("scc")); } uno::Reference<table::XCell> SwarmSolver::getCell(const table::CellAddress& rPosition) |