summaryrefslogtreecommitdiff
path: root/include/fpicker/fpsofficeResMgr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/fpicker/fpsofficeResMgr.hxx')
-rw-r--r--include/fpicker/fpsofficeResMgr.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fpicker/fpsofficeResMgr.hxx b/include/fpicker/fpsofficeResMgr.hxx
index a86a91509c38..83cf0f3d86f7 100644
--- a/include/fpicker/fpsofficeResMgr.hxx
+++ b/include/fpicker/fpsofficeResMgr.hxx
@@ -10,6 +10,7 @@
#include <unotools/resmgr.hxx>
-inline OUString FpsResId(TranslateId aId) { return Translate::get(aId, Translate::Create("fps")); };
+inline std::locale FpsResLocale() { return Translate::Create("fps"); }
+inline OUString FpsResId(TranslateId aId) { return Translate::get(aId, FpsResLocale()); };
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */