diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-04-07 21:30:31 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-04-07 21:31:01 +0200 |
commit | f53cbe59fb60b144ef59da7123141422ebe674f7 (patch) | |
tree | b1af11739ea9fa25ee9c29d15ee630b1caf77d08 /sw | |
parent | 41ac8040ab9d16615f7c0a02e8cbd4faf6cba2e0 (diff) |
Some cppcheck cleaning
Change-Id: I07ef58fd99bc9fc4fd601570b59f9a3581824aa9
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/txtnode/txtedt.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx index 38b52f597df2..fac69fec4810 100644 --- a/sw/source/core/txtnode/txtedt.cxx +++ b/sw/source/core/txtnode/txtedt.cxx @@ -1281,8 +1281,7 @@ SwRect SwTxtFrm::_AutoSpell( const SwCntntNode* pActNode, const SwViewOption& rV // within the word LanguageType eActLang = aScanner.GetCurrentLanguage(); - sal_Bool bSpell = sal_True; - bSpell = xSpell.is() ? xSpell->hasLanguage( eActLang ) : sal_False; + sal_Bool bSpell = xSpell.is() ? xSpell->hasLanguage( eActLang ) : sal_False; if( bSpell && rWord.Len() > 0 ) { // check for: bAlter => xHyphWord.is() |