diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-06 12:13:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-11 09:45:30 +0200 |
commit | 11986b61b2e5c80becd955cf956c2034595f65b0 (patch) | |
tree | 72eb95f039f9ce3f4d8726d16ce772336e1a6467 /sw | |
parent | ac85b6cff11d193f5f71d11b1f3cc1c474653f59 (diff) |
convert SvxAutocorrWord from String to OUString
Change-Id: I4f70ebb03d5028db77ab3d86eb884462c92ec9dc
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/edit/acorrect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx index 64bca9d96f99..4eb19c7bb90e 100644 --- a/sw/source/core/edit/acorrect.cxx +++ b/sw/source/core/edit/acorrect.cxx @@ -328,8 +328,8 @@ sal_Bool SwAutoCorrDoc::ChgAutoCorrWord( xub_StrLen & rSttPos, xub_StrLen nEndPo if( pFnd->IsTextOnly() ) { //JP 22.04.99: Bug 63883 - Special treatment for dots. - if( !bLastCharIsPoint || !pFnd->GetLong().Len() || - '.' != pFnd->GetLong().GetChar( pFnd->GetLong().Len() - 1 ) ) + if( !bLastCharIsPoint || pFnd->GetLong().isEmpty() || + '.' != pFnd->GetLong()[ pFnd->GetLong().getLength() - 1 ] ) { // replace the selection pDoc->ReplaceRange( aPam, pFnd->GetLong(), false); |