diff options
author | Niklas Johansson <sleeping.pillow@gmail.com> | 2015-02-18 07:51:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-19 09:36:28 +0000 |
commit | 42ec6448f9acd474d8ec1a92d9362e1b38e13758 (patch) | |
tree | 747b5494fe79f9fef9a0fa4a3c65788f56852621 /editeng | |
parent | cacc3a0e7f7b04240daf63b45e457428388f4929 (diff) |
tdf#78148 Ordinal numbers should not be auto-capitalized
FnChgOrdinalNumber should return true if it changes the ordinal number.
This seems to be accentually removed when the function was
internationalized and has always returned false since.
Change-Id: I633058a99ec033e0c33f807776364a52e22e9c64
Reviewed-on: https://gerrit.libreoffice.org/14535
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 943e518e04e8..79868dd3f783 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -503,6 +503,7 @@ bool SvxAutoCorrect::FnChgOrdinalNumber( rDoc.SetAttr( nNumEnd + 1 , nEndPos, SID_ATTR_CHAR_ESCAPEMENT, aSvxEscapementItem); + bChg = true; } } } |