CID#704124 wrong operator used, harmless though

Change-Id: I029a8df204ea4faf16e801ff90cd715adfe8e713
This commit is contained in:
Caolán McNamara
2013-10-06 16:50:45 +01:00
parent 43f7217f78
commit 676b3abe1a

View File

@@ -817,7 +817,7 @@ IMPL_LINK_NOARG(ChineseDictionaryDialog, DeleteHdl)
short ChineseDictionaryDialog::Execute()
{
sal_Int32 nTextConversionOptions = m_nTextConversionOptions;
if(m_nTextConversionOptions | i18n::TextConversionOption::USE_CHARACTER_VARIANTS )
if(m_nTextConversionOptions & i18n::TextConversionOption::USE_CHARACTER_VARIANTS )
nTextConversionOptions = nTextConversionOptions^i18n::TextConversionOption::USE_CHARACTER_VARIANTS ;
m_aCT_DictionaryToSimplified.refillFromDictionary( nTextConversionOptions );