diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/module.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/bastyp/sfxresid.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index 0825c2430754..787079b09662 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -98,7 +98,7 @@ SfxModule::~SfxModule() std::locale SfxModule::GetResLocale() const { - return Translate::Create(pImpl->maResName.getStr()); + return Translate::Create(pImpl->maResName); } SfxSlotPool* SfxModule::GetSlotPool() const diff --git a/sfx2/source/bastyp/sfxresid.cxx b/sfx2/source/bastyp/sfxresid.cxx index 74eb3f4aa0fd..2c60a31fe6e8 100644 --- a/sfx2/source/bastyp/sfxresid.cxx +++ b/sfx2/source/bastyp/sfxresid.cxx @@ -20,6 +20,6 @@ #include <sfx2/sfxresid.hxx> #include <unotools/resmgr.hxx> -OUString SfxResId(const char* pId) { return Translate::get(pId, Translate::Create("sfx")); } +OUString SfxResId(std::string_view aId) { return Translate::get(aId, Translate::Create("sfx")); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |