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.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx
index 54de1e4f0e06..ccc75246b102 100644
--- a/writerperfect/inc/WPFTResMgr.hxx
+++ b/writerperfect/inc/WPFTResMgr.hxx
@@ -5,16 +5,16 @@
#include "writerperfectdllapi.h"
-#include <tools/resid.hxx>
+#include <tools/resmgr.hxx>
-struct WRITERPERFECT_DLLPUBLIC WPFTResMgr
+struct WRITERPERFECT_DLLPUBLIC WPFTResLocale
{
- static ResMgr &GetResMgr();
+ static std::locale& GetResLocale();
};
-inline OUString WpResId(sal_uInt16 nId)
+inline OUString WpResId(const char* pId)
{
- return ResId(nId, WPFTResMgr::GetResMgr());
+ return Translate::get(pId, WPFTResLocale::GetResLocale());
}
#endif