summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-08-11 21:36:15 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-08-11 21:53:59 +0400
commitd08a76cf72e1d1db9add8b01f4e93c4b4ba4dd15 (patch)
tree4b30780ff8a05fadb413b7b01d34268875f40a16 /sc
parentde973a371c64ef796956d67fd18e4a62a451abc8 (diff)
String->OUString
Change-Id: I49e0e589c4bad3706882c9e30fe4f6bf8bdd7f1d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/drawfunc/drtxtob.cxx2
-rw-r--r--sc/source/ui/view/editsh.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 795902e4d4c7..4fb2ad7f01bc 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1957,7 +1957,7 @@ void ScTextWnd::MakeDialogEditView()
pEditEngine = pNew;
pEditEngine->SetUpdateMode( false );
- pEditEngine->SetWordDelimiters( pEditEngine->GetWordDelimiters() += '=' );
+ pEditEngine->SetWordDelimiters( pEditEngine->GetWordDelimiters() + "=" );
pEditEngine->SetPaperSize( Size( bIsRTL ? USHRT_MAX : THESIZE, 300 ) );
SfxItemSet* pSet = new SfxItemSet( pEditEngine->GetEmptyItemSet() );
diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx
index 8e97dd2bc6e6..5a1a45b46ed8 100644
--- a/sc/source/ui/drawfunc/drtxtob.cxx
+++ b/sc/source/ui/drawfunc/drtxtob.cxx
@@ -456,7 +456,7 @@ void ScDrawTextObjectBar::GetState( SfxItemSet& rSet )
SdrView * pView = pViewData->GetScDrawView();
OutlinerView* pOutView = pView->GetTextEditOutlinerView();
- String aStatusVal;
+ OUString aStatusVal;
LanguageType nLang = LANGUAGE_NONE;
bool bIsLookUpWord = false;
if ( pOutView )
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index 66538712910f..58fc54220271 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -715,7 +715,7 @@ void ScEditShell::GetState( SfxItemSet& rSet )
case SID_THES:
{
- String aStatusVal;
+ OUString aStatusVal;
LanguageType nLang = LANGUAGE_NONE;
bool bIsLookUpWord = GetStatusValueForThesaurusFromContext( aStatusVal, nLang, *pActiveView );
rSet.Put( SfxStringItem( SID_THES, aStatusVal ) );
@@ -1143,7 +1143,7 @@ String ScEditShell::GetSelectionText( sal_Bool bWholeWord )
ESelection aSel = pEditView->GetSelection();
String aStrCurrentDelimiters = pEngine->GetWordDelimiters();
- pEngine->SetWordDelimiters(OUString(" .,;\"'"));
+ pEngine->SetWordDelimiters(" .,;\"'");
aStrSelection = pEngine->GetWord( aSel.nEndPara, aSel.nEndPos );
pEngine->SetWordDelimiters( aStrCurrentDelimiters );
}