summaryrefslogtreecommitdiff
path: root/writerperfect/inc/WPFTResMgr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/inc/WPFTResMgr.hxx')
-rw-r--r--writerperfect/inc/WPFTResMgr.hxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx
index 17bfc872731a..1ac6796bb91e 100644
--- a/writerperfect/inc/WPFTResMgr.hxx
+++ b/writerperfect/inc/WPFTResMgr.hxx
@@ -7,14 +7,9 @@
#include <unotools/resmgr.hxx>
-struct WRITERPERFECT_DLLPUBLIC WPFTResLocale
-{
- static std::locale &GetResLocale();
-};
-
inline OUString WpResId(const char *pId)
{
- return Translate::get(pId, WPFTResLocale::GetResLocale());
+ return Translate::get(pId, Translate::Create("wpt"));
}
#endif