summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2015-02-18 07:51:36 +0100
committerMichael Stahl <mstahl@redhat.com>2015-02-26 16:06:59 +0000
commitcbab46342e75a0bd8987620757bf67c4f68f8edd (patch)
tree628e2e5bcc9ae148a8e0f5c2d924f3a85c9b52e8 /editeng
parent2304bce084a87cdf2e0711f8408b53036f1d5d37 (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> (cherry picked from commit 42ec6448f9acd474d8ec1a92d9362e1b38e13758) Reviewed-on: https://gerrit.libreoffice.org/14578 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/svxacorr.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 6b235de53de1..64118ac31382 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -501,6 +501,7 @@ bool SvxAutoCorrect::FnChgOrdinalNumber(
rDoc.SetAttr( nNumEnd + 1 , nEndPos,
SID_ATTR_CHAR_ESCAPEMENT,
aSvxEscapementItem);
+ bChg = true;
}
}
}