diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-27 13:18:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-27 21:58:07 +0100 |
commit | 03567d1156d4e61910912c89124b6da94a577c22 (patch) | |
tree | 50cdb71c9e3915180a0c605c66cfc583c7ac15bc /editeng/source | |
parent | 6160ac241b1f54ddb2b2b444da14fe31878a5bc7 (diff) |
rhbz#1517407 Capitalize every word doesn't work after brackets
Change-Id: Iab2da3f74f6116bb1b9855044df2a2ece977bb95
Reviewed-on: https://gerrit.libreoffice.org/45335
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index f315141e9719..1114fee47b9a 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -2791,8 +2791,8 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection, (void) aSelTxt; #endif - aCurWordBndry = _xBI->nextWord(aNodeStr, nCurrentEnd, - GetLocale( EditPaM( pNode, nCurrentEnd + 1 ) ), + aCurWordBndry = _xBI->nextWord(aNodeStr, nCurrentStart, + GetLocale( EditPaM( pNode, nCurrentStart + 1 ) ), nWordType); } DBG_ASSERT( nCurrentEnd >= aEndBndry.endPos, "failed to reach end of transliteration" ); |