diff options
Diffstat (limited to 'writerperfect/inc/WPFTResMgr.hxx')
-rw-r--r-- | writerperfect/inc/WPFTResMgr.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx index 103b68a985a8..f1825f87b781 100644 --- a/writerperfect/inc/WPFTResMgr.hxx +++ b/writerperfect/inc/WPFTResMgr.hxx @@ -4,6 +4,9 @@ #include <unotools/resmgr.hxx> -inline OUString WpResId(const char* pId) { return Translate::get(pId, Translate::Create("wpt")); } +inline OUString WpResId(std::string_view aId) +{ + return Translate::get(aId, Translate::Create("wpt")); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |