[Libreoffice-commits] core.git: editeng/source

Niklas Johansson sleeping.pillow at gmail.com
Thu Feb 19 01:36:55 PST 2015


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

New commits:
commit 42ec6448f9acd474d8ec1a92d9362e1b38e13758
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>

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 943e518..79868dd 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;
                 }
             }
         }


More information about the Libreoffice-commits mailing list