summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2015-02-18 07:51:36 +0100
committerAndras Timar <andras.timar@collabora.com>2015-03-04 03:16:11 -0800
commit602775ef25ec46a21a2ffebb5d8a0b415cd0509a (patch)
treea204acc01833aa2ed3724919b1dbbbabc1340da7 /editeng/source
parent33484ca7bfd9f02280a8438c802ce494cec8ae88 (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> (cherry picked from commit cbab46342e75a0bd8987620757bf67c4f68f8edd) Reviewed-on: https://gerrit.libreoffice.org/14683 (cherry picked from commit 4ab923b82008396f40b7137ae984a08c4175e28d)
Diffstat (limited to 'editeng/source')
-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 8b1a3eef33fa..4745c0bafdb4 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -498,6 +498,7 @@ bool SvxAutoCorrect::FnChgOrdinalNumber(
rDoc.SetAttr( nNumEnd + 1 , nEndPos,
SID_ATTR_CHAR_ESCAPEMENT,
aSvxEscapementItem);
+ bChg = true;
}
}
}