diff options
author | Bán Róbert <robert.ban102@gmail.com> | 2017-10-25 15:30:12 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-10-26 01:31:57 +0200 |
commit | 7e03c4eed72452fdfb87341214a21956c08ba969 (patch) | |
tree | 99d017ba8ff347adfac09d52f0c93ff612e92771 | |
parent | 06065b57de4266ae23c3d3bf37f57a50b1280690 (diff) |
cpp check, fix redundantAssignment
Change-Id: I7cf826ecae59f501e1a240840d3ba186f2c65ed6
Reviewed-on: https://gerrit.libreoffice.org/43839
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r-- | cui/source/options/optlingu.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index a606652eb078..e02914813903 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -1358,13 +1358,12 @@ void SvxLinguTabPage::Reset( const SfxItemSet* rSet ) m_pLinguOptionsCLB->Clear(); SvTreeList *pModel = m_pLinguOptionsCLB->GetModel(); - SvTreeListEntry* pEntry = nullptr; sal_Int16 nVal = 0; bool bVal = false; sal_uLong nUserData = 0; - pEntry = CreateEntry( sSpellAuto, CBCOL_FIRST ); + SvTreeListEntry* pEntry = CreateEntry( sSpellAuto, CBCOL_FIRST ); aLngCfg.GetProperty( UPN_IS_SPELL_AUTO ) >>= bVal; const SfxPoolItem* pItem = GetItem( *rSet, SID_AUTOSPELL_CHECK ); if (pItem) |