summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/appl/module.cxx2
-rw-r--r--sfx2/source/bastyp/sfxresid.cxx2
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: */