summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-06 16:50:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-07 09:16:26 +0100
commit676b3abe1aa9ab3af8efa5835469cbca0d8829ab (patch)
treebd984ed65dfeec711372a935932728adbc05d729 /svx
parent43f7217f789478f23d607f40493d0df822cd5988 (diff)
CID#704124 wrong operator used, harmless though
Change-Id: I029a8df204ea4faf16e801ff90cd715adfe8e713
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
index 4b7b3032567f..301acda9aaa1 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
@@ -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 );