diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-04-08 07:30:44 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-04-08 07:31:04 +0200 |
commit | 73cc9fc42cfa524a9965f58092f3a004de3a6b87 (patch) | |
tree | df40dc81d25beb011a34d3541eddc5eabcae2317 /cui | |
parent | 764e8a05ca5fb2f1335c5b5e96142f651de8c640 (diff) |
Fix variable reassigned before the old value has been used
Change-Id: Ifd90fe801371a7f4cbeefe49dbfbe192c3040ebd
Diffstat (limited to 'cui')
-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 8d5bbb198cc9..2ef6af4925ba 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -1147,9 +1147,8 @@ SvxLinguTabPage::SvxLinguTabPage( Window* pParent, } const SfxSpellCheckItem* pItem = 0; - SfxItemState eItemState = SFX_ITEM_UNKNOWN; - eItemState = rSet.GetItemState( GetWhich( SID_ATTR_SPELL ), + SfxItemState eItemState = rSet.GetItemState( GetWhich( SID_ATTR_SPELL ), sal_False, (const SfxPoolItem**)&pItem ); // is it about a default-item? |