diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-19 11:36:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-19 14:11:50 +0100 |
commit | 447e5b4b36271b197660a9383a0f88c2761896c6 (patch) | |
tree | dfbdfcfacf2e890fe51db57684927f345c1a4acb /editeng | |
parent | aae1b8ffade1ef0756899436497fa049b396fc26 (diff) |
death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index fa9c7af48f1d..7f8da77cd122 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1030,8 +1030,7 @@ sal_Bool SvxAutoCorrect::FnCptlSttSntnc( SvxAutoCorrDoc& rDoc, // check on the basis of the exception list if( pExceptStt ) { - sWord = String( - pStr, sal::static_int_cast< xub_StrLen >( pExceptStt - pStr + 1 ) ); + sWord = rtl::OUString(pStr, pExceptStt - pStr + 1); if( FindInCplSttExceptList(eLang, sWord) ) return sal_False; @@ -1725,7 +1724,7 @@ static const SvxAutocorrWord* lcl_SearchWordsInList( ( nCalcStt < rStt && IsWordDelim( rTxt.GetChar(nCalcStt - 1 ) ))) ) { - String sWord( rTxt.GetBuffer() + nCalcStt, rChk.Len() ); + rtl::OUString sWord(rTxt.GetBuffer() + nCalcStt, rChk.Len()); if( rCmp.isEqual( rChk, sWord )) { rStt = nCalcStt; |