diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-07-28 16:40:20 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-07-30 14:40:30 +0000 |
commit | 31ab7f0c7d20f1d7be5ce818d0d99b6bd5a8edde (patch) | |
tree | f3e2407665932d3467deee25ecbaf588b9e88bd8 /sw/source/ui/dochdl | |
parent | 1c48e4efa2369e5708798bdefb46b74a86415d00 (diff) |
String to OUString
Change-Id: I8d4f62b473ad43807621a9dbb826ed33857b737e
Reviewed-on: https://gerrit.libreoffice.org/5189
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'sw/source/ui/dochdl')
-rw-r--r-- | sw/source/ui/dochdl/swdtflvr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx index 80485bd41b8d..b92f5e059715 100644 --- a/sw/source/ui/dochdl/swdtflvr.cxx +++ b/sw/source/ui/dochdl/swdtflvr.cxx @@ -1312,7 +1312,7 @@ int SwTransferable::PasteData( TransferableDataHelper& rData, INetBookmark aBkmk; if( rData.GetINetBookmark( nFormat, aBkmk ) ) { - SwFmtINetFmt aFmt( aBkmk.GetURL(), aEmptyStr ); + SwFmtINetFmt aFmt( aBkmk.GetURL(), OUString() ); rSh.InsertURL( aFmt, aBkmk.GetDescription() ); nRet = 1; } @@ -1441,7 +1441,7 @@ int SwTransferable::PasteData( TransferableDataHelper& rData, if( nRet ) { - SwFmtINetFmt aFmt( sURL, aEmptyStr ); + SwFmtINetFmt aFmt( sURL, OUString() ); rSh.InsertURL( aFmt, sDesc ); } } @@ -2448,7 +2448,7 @@ int SwTransferable::_PasteAsHyperlink( TransferableDataHelper& rData, default: { - rSh.InsertURL( SwFmtINetFmt( sFile, aEmptyStr ), + rSh.InsertURL( SwFmtINetFmt( sFile, OUString() ), sDesc.Len() ? sDesc : sFile ); } } @@ -2535,7 +2535,7 @@ int SwTransferable::_PasteFileName( TransferableDataHelper& rData, default: { - rSh.InsertURL( SwFmtINetFmt( sFile, aEmptyStr ), + rSh.InsertURL( SwFmtINetFmt( sFile, OUString() ), sDesc.Len() ? sDesc : sFile ); } } |