diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuicharmap.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx index ee26bca6d980..b17931ca3df5 100644 --- a/cui/source/dialogs/cuicharmap.cxx +++ b/cui/source/dialogs/cuicharmap.cxx @@ -455,9 +455,9 @@ IMPL_LINK_NOARG_TYPED(SvxCharacterMap, FontSelectHdl, ListBox&, void) bool bNeedSubset = (aFont.GetCharSet() != RTL_TEXTENCODING_SYMBOL); if( bNeedSubset ) { - FontCharMapPtr pFontCharMap( new FontCharMap() ); - m_pShowSet->GetFontCharMap( pFontCharMap ); - pSubsetMap = new SubsetMap( pFontCharMap ); + FontCharMapPtr xFontCharMap( new FontCharMap() ); + m_pShowSet->GetFontCharMap( xFontCharMap ); + pSubsetMap = new SubsetMap( xFontCharMap ); // update subset listbox for new font's unicode subsets // TODO: is it worth to improve the stupid linear search? @@ -600,9 +600,9 @@ void SvxCharacterMap::selectCharByCode(Radix radix) // Convert the code back to a character using the appropriate radix sal_UCS4 cChar = aCodeString.toUInt32(static_cast<sal_Int16> (radix)); // Use FontCharMap::HasChar(sal_UCS4 cChar) to see if the desired character is in the font - FontCharMapPtr pFontCharMap(new FontCharMap()); - m_pShowSet->GetFontCharMap(pFontCharMap); - if (pFontCharMap->HasChar(cChar)) + FontCharMapPtr xFontCharMap(new FontCharMap()); + m_pShowSet->GetFontCharMap(xFontCharMap); + if (xFontCharMap->HasChar(cChar)) // Select the corresponding character SetChar(cChar); } |