diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-03 18:29:30 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-04 09:57:11 +0000 |
commit | 9a0d753b84aed53083bed3ed460308b771f432a8 (patch) | |
tree | c4c27c8f8eb8c1a08df3f6e87e230918a1784eb1 /sc | |
parent | ed87e4c4b09d0f623c350528a4f6a6d049735bd1 (diff) |
String to OUString
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166
Reviewed-on: https://gerrit.libreoffice.org/5790
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/fielduno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewfun4.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx index abbbc2a25bf2..b9a52fce836d 100644 --- a/sc/source/ui/unoobj/fielduno.cxx +++ b/sc/source/ui/unoobj/fielduno.cxx @@ -1203,7 +1203,7 @@ void ScEditFieldObj::DeleteField() if (mpEditSource) { SvxTextForwarder* pForwarder = mpEditSource->GetTextForwarder(); - pForwarder->QuickInsertText( String(), aSelection ); + pForwarder->QuickInsertText( OUString(), aSelection ); mpEditSource->UpdateData(); aSelection.nEndPara = aSelection.nStartPara; diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index 821937e935dd..c19bd04d8a5f 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -104,7 +104,7 @@ void ScViewFunc::PasteRTF( SCCOL nStartCol, SCROW nStartRow, // same method now for clipboard or drag&drop // mba: clipboard always must contain absolute URLs (could be from alien source) - aEditView.InsertText( rxTransferable, String(), sal_True ); + aEditView.InsertText( rxTransferable, OUString(), sal_True ); } sal_Int32 nParCnt = pEngine->GetParagraphCount(); |