diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/factory/cuiresmgr.cxx | 2 | ||||
-rw-r--r-- | cui/source/inc/dialmgr.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/factory/cuiresmgr.cxx b/cui/source/factory/cuiresmgr.cxx index ae22515bd261..fc6f0d5fd24d 100644 --- a/cui/source/factory/cuiresmgr.cxx +++ b/cui/source/factory/cuiresmgr.cxx @@ -20,6 +20,6 @@ #include <dialmgr.hxx> #include <unotools/resmgr.hxx> -OUString CuiResId(const char* pKey) { return Translate::get(pKey, Translate::Create("cui")); } +OUString CuiResId(std::string_view aKey) { return Translate::get(aKey, Translate::Create("cui")); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/dialmgr.hxx b/cui/source/inc/dialmgr.hxx index c31fde3a27a3..003941790603 100644 --- a/cui/source/inc/dialmgr.hxx +++ b/cui/source/inc/dialmgr.hxx @@ -21,6 +21,6 @@ #include <rtl/ustring.hxx> -OUString CuiResId(const char* pKey); +OUString CuiResId(std::string_view aKey); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |