diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-06-19 15:02:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-06-19 16:27:16 +0100 |
commit | 3212a2419416359f11e60c62cadeeaa8078c33a7 (patch) | |
tree | a2119927c02c00a515b6a45c0cab277302e46eba /editeng/source | |
parent | 9d221db01337957ec161a76b5dd7db9d6b384c89 (diff) |
consider field marks as text for auto quotes
Change-Id: I511a13f7785a0de6efaa8439d3f0bff20a1644ed
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index c7ec14cb0be6..d8804dcd1727 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1258,7 +1258,7 @@ void SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, { sal_Unicode cPrev; bool bSttQuote = !nInsPos || - IsWordDelim( ( cPrev = rTxt[ nInsPos-1 ])) || + NonFieldWordDelim( ( cPrev = rTxt[ nInsPos-1 ])) || lcl_IsInAsciiArr( "([{", cPrev ) || ( cEmDash && cEmDash == cPrev ) || ( cEnDash && cEnDash == cPrev ); |