summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/MasterPageContainer.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/sidebar/MasterPageContainer.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/sidebar/MasterPageContainer.cxx')
-rw-r--r--sd/source/ui/sidebar/MasterPageContainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx
index 20d8528077a1..f762144cecce 100644
--- a/sd/source/ui/sidebar/MasterPageContainer.cxx
+++ b/sd/source/ui/sidebar/MasterPageContainer.cxx
@@ -787,7 +787,7 @@ Reference<frame::XModel> MasterPageContainer::Implementation::GetModel()
// Create a new model.
mxModel.set(
::comphelper::getProcessServiceFactory()->createInstance(
- "com.sun.star.presentation.PresentationDocument"),
+ u"com.sun.star.presentation.PresentationDocument"_ustr),
uno::UNO_QUERY);
// Initialize the model.
@@ -814,7 +814,7 @@ Reference<frame::XModel> MasterPageContainer::Implementation::GetModel()
uno::Reference<beans::XPropertySet> xProperties(xNewPage, uno::UNO_QUERY);
if (xProperties.is())
xProperties->setPropertyValue(
- "Layout",
+ u"Layout"_ustr,
Any(sal_Int16(AUTOLAYOUT_TITLE)));
}
}