Kaydet (Commit) 3fea681c authored tarafından Caolán McNamara's avatar Caolán McNamara

declare at init point

Change-Id: I986352cd2db4a9bd794ec25fbef9168be08a70ce
üst 43d65d1a
......@@ -670,10 +670,9 @@ void SvxCharacterMap::setCharName(char decimal[])
{
int nDecimalValue = std::stoi(decimal);
char buffer[100];
UErrorCode errorCode;
/* get the character name */
errorCode=U_ZERO_ERROR;
UErrorCode errorCode = U_ZERO_ERROR;
u_charName((UChar32)nDecimalValue, U_UNICODE_CHAR_NAME, buffer, sizeof(buffer), &errorCode);
m_pCharName->SetText(OUString::createFromAscii(buffer));
}
......
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