summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/slideshowimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slideshow/slideshowimpl.cxx')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 5948a87f186d..b896fbb4ebbf 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1528,12 +1528,12 @@ void SlideshowImpl::click( const Reference< XShape >& xShape )
// "Macroname.Modulname.Libname.Documentname" or
// "Macroname.Modulname.Libname.Applicationname"
sal_Int32 nIdx{ 0 };
- const OUString aMacroName = aMacro.getToken(0, '.', nIdx);
- const OUString aModulName = aMacro.getToken(0, '.', nIdx);
+ const std::u16string_view aMacroName = o3tl::getToken(aMacro, 0, '.', nIdx);
+ const std::u16string_view aModulName = o3tl::getToken(aMacro, 0, '.', nIdx);
// todo: is the limitation still given that only
// Modulname+Macroname can be used here?
- OUString aExecMacro = aModulName + "." + aMacroName;
+ OUString aExecMacro = OUString::Concat(aModulName) + "." + aMacroName;
mpDocSh->GetBasic()->Call(aExecMacro);
}
}