diff options
Diffstat (limited to 'sw/source/uibase/app/docsh2.cxx')
-rw-r--r-- | sw/source/uibase/app/docsh2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx index 4ae4b02ac42a..a443e1574c78 100644 --- a/sw/source/uibase/app/docsh2.cxx +++ b/sw/source/uibase/app/docsh2.cxx @@ -760,7 +760,7 @@ void SwDocShell::Execute(SfxRequest& rReq) { WriterRef xWrt; // mba: looks as if relative URLs don't make sense here - ::GetRTFWriter(OUString(), OUString(), xWrt); + ::GetRTFWriter(std::u16string_view(), OUString(), xWrt); SvMemoryStream *pStrm = new SvMemoryStream(); pStrm->SetBufferSize( 16348 ); SwWriter aWrt( *pStrm, *pSmryDoc ); @@ -818,7 +818,7 @@ void SwDocShell::Execute(SfxRequest& rReq) EnableSetModified( false ); WriterRef xWrt; // mba: looks as if relative URLs don't make sense here - ::GetRTFWriter( OUString('O'), OUString(), xWrt ); + ::GetRTFWriter( u"O", OUString(), xWrt ); std::unique_ptr<SvMemoryStream> pStrm (new SvMemoryStream()); pStrm->SetBufferSize( 16348 ); SwWriter aWrt( *pStrm, *GetDoc() ); |