diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-28 12:22:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-28 12:22:10 +0100 |
commit | a406bdc983122d3bbeaae298b6031fd615c0fbc1 (patch) | |
tree | caf0d3669ce07f934bbd1f57b0b804c017575901 /cui | |
parent | f9d3644d1e560fe5b2e6ae948cdd402045d64c3b (diff) |
merge duplicate blocks
Change-Id: I62e021b2ec7ac9df122389fd128f7a7770317a43
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuicharmap.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
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) |