[Libreoffice-commits] core.git: cui/source
Bán Róbert
robert.ban102 at gmail.com
Wed Oct 25 23:32:22 UTC 2017
cui/source/options/optlingu.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 7e03c4eed72452fdfb87341214a21956c08ba969
Author: Bán Róbert <robert.ban102 at 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 <serval2412 at yahoo.fr>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai at 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)
More information about the Libreoffice-commits
mailing list