cui/source/options/optlingu.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 7e03c4eed72452fdfb87341214a21956c08ba969 Author: Bán Róbert <robert.ban...@gmail.com> Date: Wed Oct 25 15:30:12 2017 +0200 cpp check, fix redundantAssignment Change-Id: I7cf826ecae59f501e1a240840d3ba186f2c65ed6 Reviewed-on: https://gerrit.libreoffice.org/43839 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> Tested-by: Tamás Zolnai <tamas.zol...@collabora.com> 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)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits