summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/slideshow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-17 12:41:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-28 09:25:32 +0200
commita4d53515faac28e7749b0c4d9a4e6b59aad63225 (patch)
treec8e48082dff8fc9e9d62944ccd6befb8b9eb3af7 /sd/source/ui/slideshow/slideshow.cxx
parent9376df3c03d361a4c01493066db2a11a770d6cc9 (diff)
loplugin:ostr in sd/../ui
Change-Id: I19acde24fd8a4014807318d97433b81814cadd75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167768 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/slideshow/slideshow.cxx')
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index 39e3e6a21221..f7c6cd0f0915 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -258,7 +258,7 @@ void SlideShow::CreateController( ViewShell* pViewSh, ::sd::View* pView, vcl::W
// XServiceInfo
OUString SAL_CALL SlideShow::getImplementationName( )
{
- return "com.sun.star.comp.sd.SlideShow";
+ return u"com.sun.star.comp.sd.SlideShow"_ustr;
}
sal_Bool SAL_CALL SlideShow::supportsService( const OUString& ServiceName )
@@ -268,7 +268,7 @@ sal_Bool SAL_CALL SlideShow::supportsService( const OUString& ServiceName )
Sequence< OUString > SAL_CALL SlideShow::getSupportedServiceNames( )
{
- return { "com.sun.star.presentation.Presentation" };
+ return { u"com.sun.star.presentation.Presentation"_ustr };
}
// XPropertySet
@@ -798,8 +798,8 @@ void SAL_CALL SlideShow::end()
// In case mbMouseAsPen was set, a new layer DrawnInSlideshow might have been generated
// during slideshow, which is not known to FrameView yet.
- if (any2bool(getPropertyValue("UsePen"))
- && pViewShell->GetDoc()->GetLayerAdmin().GetLayer("DrawnInSlideshow"))
+ if (any2bool(getPropertyValue(u"UsePen"_ustr))
+ && pViewShell->GetDoc()->GetLayerAdmin().GetLayer(u"DrawnInSlideshow"_ustr))
{
SdrLayerIDSet aDocLayerIDSet;
pViewShell->GetDoc()->GetLayerAdmin().getVisibleLayersODF(aDocLayerIDSet);
@@ -831,7 +831,7 @@ void SAL_CALL SlideShow::end()
void SAL_CALL SlideShow::rehearseTimings()
{
- Sequence< PropertyValue > aArguments{ comphelper::makePropertyValue("RehearseTimings", true) };
+ Sequence< PropertyValue > aArguments{ comphelper::makePropertyValue(u"RehearseTimings"_ustr, true) };
startWithArguments( aArguments );
}
@@ -959,10 +959,10 @@ void SlideShow::endInteractivePreview()
void SlideShow::startPreview( const Reference< XDrawPage >& xDrawPage, const Reference< XAnimationNode >& xAnimationNode )
{
Sequence< PropertyValue > aArguments{
- comphelper::makePropertyValue("Preview", true),
- comphelper::makePropertyValue("FirstPage", xDrawPage),
- comphelper::makePropertyValue("AnimationNode", xAnimationNode),
- comphelper::makePropertyValue("ParentWindow", Reference< XWindow >()),
+ comphelper::makePropertyValue(u"Preview"_ustr, true),
+ comphelper::makePropertyValue(u"FirstPage"_ustr, xDrawPage),
+ comphelper::makePropertyValue(u"AnimationNode"_ustr, xAnimationNode),
+ comphelper::makePropertyValue(u"ParentWindow"_ustr, Reference< XWindow >()),
};
startWithArguments( aArguments );