diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-07-31 18:41:58 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-07-31 18:41:58 +0200 |
commit | a751a0c74d455ad7dc17932163a42788e2b75786 (patch) | |
tree | 0d4c7efbd7eb288dee75125cc203d3027b5de564 /linguistic | |
parent | 470b293417a84a6786ff99dcd3e8b71567b2913a (diff) |
Some cppcheck cleaning
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/lngprophelp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx index ee96c673ea26..51d486650b70 100644 --- a/linguistic/source/lngprophelp.cxx +++ b/linguistic/source/lngprophelp.cxx @@ -453,7 +453,6 @@ sal_Bool PropertyHelper_Spell::propertyChange_Impl( const PropertyChangeEvent& r if (!bRes && GetPropSet().is() && rEvt.Source == GetPropSet()) { - sal_Int16 nLngSvcFlags = 0; sal_Bool bSCWA = sal_False, // SPELL_CORRECT_WORDS_AGAIN ? bSWWA = sal_False; // SPELL_WRONG_WORDS_AGAIN ? @@ -490,6 +489,7 @@ sal_Bool PropertyHelper_Spell::propertyChange_Impl( const PropertyChangeEvent& r bRes = (pbVal != 0); if (bRes) { + sal_Int16 nLngSvcFlags = 0; if (bSCWA) nLngSvcFlags |= LinguServiceEventFlags::SPELL_CORRECT_WORDS_AGAIN; if (bSWWA) |