cui/source/dialogs/cuicharmap.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
New commits: commit a406bdc983122d3bbeaae298b6031fd615c0fbc1 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Jul 28 12:22:10 2017 +0100 merge duplicate blocks Change-Id: I62e021b2ec7ac9df122389fd128f7a7770317a43 diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx index 70b86a82149f..4cdb9284dcb4 100644 --- a/cui/source/dialogs/cuicharmap.cxx +++ b/cui/source/dialogs/cuicharmap.cxx @@ -505,13 +505,7 @@ void SvxCharacterMap::init() m_pFavCharView[i]->SetLoseFocusHdl(LINK(this,SvxCharacterMap, LoseFocusHdl)); } - char buffer[100]; - UErrorCode errorCode = U_ZERO_ERROR;; - - /* get the character name */ - u_charName((UChar32)90, U_UNICODE_CHAR_NAME, buffer, sizeof(buffer), &errorCode); - if (U_SUCCESS(errorCode)) - m_pCharName->SetText(OUString::createFromAscii(buffer)); + setCharName(90); } bool SvxCharacterMap::isFavChar(const OUString& sTitle, const OUString& rFont)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits