[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jul 18 18:59:56 UTC 2018


 cui/source/dialogs/cuicharmap.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 805ea77cf21ff96f8ffd091f94726840771ee658
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 17 15:55:03 2018 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Wed Jul 18 20:59:34 2018 +0200

    Related: tdf#118681 use a case insensitive compare for hex digits
    
    Change-Id: I7b177d2772a86cada37c20056794bc1d8ab50991
    Reviewed-on: https://gerrit.libreoffice.org/57565
    Tested-by: Jenkins
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 7c6d8f50a342..678bddee71e3 100755
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -977,8 +977,8 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharHighlightHdl, SvxShowCharSet*, void)
         setCharName(cChar);
 
         // Update the hex and decimal codes only if necessary
-        if (m_xHexCodeText->get_text() != aHexText)
-            m_xHexCodeText->set_text( aHexText );
+        if (!m_xHexCodeText->get_text().equalsIgnoreAsciiCase(aHexText))
+            m_xHexCodeText->set_text(aHexText);
         if (m_xDecimalCodeText->get_text() != aDecimalText)
             m_xDecimalCodeText->set_text( aDecimalText );
 
@@ -1020,7 +1020,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, SearchCharHighlightHdl, SvxShowCharSet*, void)
         setCharName(cChar);
 
         // Update the hex and decimal codes only if necessary
-        if (m_xHexCodeText->get_text() != aHexText)
+        if (!m_xHexCodeText->get_text().equalsIgnoreAsciiCase(aHexText))
             m_xHexCodeText->set_text(aHexText);
         if (m_xDecimalCodeText->get_text() != aDecimalText)
             m_xDecimalCodeText->set_text( aDecimalText );


More information about the Libreoffice-commits mailing list