summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-20 08:17:02 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 10:08:36 +0200
commitfd8f8bdaadc6bac6cf57c335422482a6793211a2 (patch)
tree087b6dd9a08c5e8ca06ac423d9fa2087844de60a /sw
parenta952bd8aacba91ed654f11da07cbf0059d378918 (diff)
convert last bits of include/editeng/svxacorr.hxx from String to OUString
now that Caolon has fixed the bugs in the auto-correct Change-Id: I06c31c22974fd23c6e6c14f1b3d0b6411712753f
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/editsh.hxx2
-rw-r--r--sw/source/core/edit/edws.cxx2
-rw-r--r--sw/source/ui/docvw/edtwin.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 4f5212e9205c..8174f674b4b1 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -785,7 +785,7 @@ public:
/// Call AutoCorrect
void AutoCorrect( SvxAutoCorrect& rACorr, sal_Bool bInsertMode = sal_True,
sal_Unicode cChar = ' ' );
- sal_Bool GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, String& rWord );
+ sal_Bool GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, OUString& rWord );
/// Set our styles according to the respective rules.
void AutoFormat( const SvxSwAutoFmtFlags* pAFlags = 0 );
diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx
index 437189b2d59a..c42ed840193c 100644
--- a/sw/source/core/edit/edws.cxx
+++ b/sw/source/core/edit/edws.cxx
@@ -268,7 +268,7 @@ void SwEditShell::SetNewDoc(sal_Bool bNew)
GetDoc()->SetNewDoc(bNew);
}
-sal_Bool SwEditShell::GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, String& rWord )
+sal_Bool SwEditShell::GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, OUString& rWord )
{
SET_CURR_SHELL( this );
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 85f4c727d7c3..50ba16c6aa1d 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2638,7 +2638,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
bFlushCharBuffer = bSave;
// maybe show Tip-Help
- String sWord;
+ OUString sWord;
if( bNormalChar && pACfg && pACorr &&
( pACfg->IsAutoTextTip() ||
pACorr->GetSwFlags().bAutoCompleteWords ) &&
@@ -5110,7 +5110,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
if( m_pQuickHlpData->m_bIsDisplayed )
m_pQuickHlpData->Stop( rSh );
- String sWord;
+ OUString sWord;
if( rSh.HasDrawView() && rSh.GetDrawView()->IsTextEdit() )
{
bCallBase = false;