diff options
-rwxr-xr-x | cui/source/dialogs/cuicharmap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); |