summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r--sd/source/ui/docshell/docshel2.cxx2
-rw-r--r--sd/source/ui/docshell/docshel3.cxx2
-rw-r--r--sd/source/ui/docshell/docshell.cxx2
-rw-r--r--sd/source/ui/docshell/grdocsh.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/docshell/docshel2.cxx b/sd/source/ui/docshell/docshel2.cxx
index 958484c275f7..6a3ea2edfda1 100644
--- a/sd/source/ui/docshell/docshel2.cxx
+++ b/sd/source/ui/docshell/docshel2.cxx
@@ -355,7 +355,7 @@ bool DrawDocShell::IsNewPageNameValid( OUString & rInOutPageName, bool bResetStr
else
{
// check for upper/lower case roman numbering
- OUString sReserved("cdilmvx");
+ OUString sReserved(u"cdilmvx"_ustr);
// skip all following characters contained in one reserved class
if (sReserved.indexOf(sRemainder[0]) == -1)
diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx
index aa99dc76b2a4..4b1e790428f8 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -421,7 +421,7 @@ void DrawDocShell::Execute( SfxRequest& rReq )
SfxBindings& rBindings( mpViewShell->GetFrame()->GetBindings() );
if ( sfx2::SfxNotebookBar::IsActive() )
- sfx2::SfxNotebookBar::ExecMethod( rBindings, pFile ? pFile->GetValue() : "" );
+ sfx2::SfxNotebookBar::ExecMethod( rBindings, pFile ? pFile->GetValue() : u""_ustr );
else
sfx2::SfxNotebookBar::CloseMethod( rBindings );
}
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index 71a920fa4fb9..cadc59826f47 100644
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -84,7 +84,7 @@ namespace sd {
SFX_IMPL_OBJECTFACTORY(
DrawDocShell,
SvGlobalName(SO3_SIMPRESS_CLASSID),
- "simpress" )
+ u"simpress"_ustr )
void DrawDocShell::Construct( bool bClipboard )
{
diff --git a/sd/source/ui/docshell/grdocsh.cxx b/sd/source/ui/docshell/grdocsh.cxx
index f0f5af956288..0588cb3ca64d 100644
--- a/sd/source/ui/docshell/grdocsh.cxx
+++ b/sd/source/ui/docshell/grdocsh.cxx
@@ -40,7 +40,7 @@ void GraphicDocShell::InitInterface_Impl()
GetStaticInterface()->RegisterChildWindow(SID_SEARCH_DLG);
}
-SFX_IMPL_OBJECTFACTORY(GraphicDocShell, SvGlobalName(SO3_SDRAW_CLASSID_60), "sdraw")
+SFX_IMPL_OBJECTFACTORY(GraphicDocShell, SvGlobalName(SO3_SDRAW_CLASSID_60), u"sdraw"_ustr)
GraphicDocShell::GraphicDocShell(SfxObjectCreateMode eMode)
: DrawDocShell(eMode, /*bDataObject*/ true, DocumentType::Draw)