[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - editeng/source

Niklas Johansson sleeping.pillow at gmail.com
Sat Feb 28 12:16:21 PST 2015


 editeng/source/misc/svxacorr.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4ab923b82008396f40b7137ae984a08c4175e28d
Author: Niklas Johansson <sleeping.pillow at gmail.com>
Date:   Wed Feb 18 07:51:36 2015 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    (cherry picked from commit 42ec6448f9acd474d8ec1a92d9362e1b38e13758)
    Reviewed-on: https://gerrit.libreoffice.org/14578
    Tested-by: Michael Stahl <mstahl at redhat.com>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    (cherry picked from commit cbab46342e75a0bd8987620757bf67c4f68f8edd)
    Reviewed-on: https://gerrit.libreoffice.org/14683

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 8b1a3ee..4745c0b 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;
                 }
             }
         }


More information about the Libreoffice-commits mailing list