summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui/glbltree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/utlui/glbltree.cxx')
-rw-r--r--sw/source/ui/utlui/glbltree.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx
index 79a1c869afa2..29814b00389c 100644
--- a/sw/source/ui/utlui/glbltree.cxx
+++ b/sw/source/ui/utlui/glbltree.cxx
@@ -726,7 +726,7 @@ void SwGlobalTree::InsertRegion( const SwGlblDocContent* pCont, const String* pF
Application::SetDefDialogParent( this );
delete pDocInserter;
pDocInserter = new ::sfx2::DocumentInserter(
- String::CreateFromAscii("swriter"), true );
+ rtl::OUString("swriter"), true );
pDocInserter->StartExecuteModal( LINK( this, SwGlobalTree, DialogClosedHdl ) );
}
else if ( pFileName->Len() )
@@ -1200,7 +1200,7 @@ void SwGlobalTree::OpenDoc(const SwGlblDocContent* pCont)
SfxStringItem aURL(SID_FILE_NAME,
sFileName);
SfxBoolItem aReadOnly(SID_DOC_READONLY, sal_False);
- SfxStringItem aTargetFrameName( SID_TARGETNAME, String::CreateFromAscii("_blank") );
+ SfxStringItem aTargetFrameName( SID_TARGETNAME, rtl::OUString("_blank") );
SfxStringItem aReferer(SID_REFERER, pActiveShell->GetView().GetDocShell()->GetTitle());
pActiveShell->GetView().GetViewFrame()->GetDispatcher()->
Execute(SID_OPENDOC, SFX_CALLMODE_ASYNCHRON,