Kaydet (Commit) 19b3a353 authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: tdf#118681 use a case insensitive compare for hex digits

Change-Id: I7b177d2772a86cada37c20056794bc1d8ab50991
Reviewed-on: https://gerrit.libreoffice.org/57563
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 1d3de59a
......@@ -976,8 +976,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 );
......@@ -1019,7 +1019,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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment