diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-06 20:17:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-07 09:16:27 +0100 |
commit | b86343eaac52c1508cc651998b23b31c9180c8a7 (patch) | |
tree | dc765c5a4625f5a0378b0b9eb0e5731e803c318d /cui | |
parent | 2a20c95e84998b88056ac462e6d3b488ca97aae2 (diff) |
CID#708782 unused pointer value
Change-Id: I15c34278a3dca19547c77be7aca670fbbc2d2037
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/macropg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx index acffd8374cfe..38b393120e6c 100644 --- a/cui/source/customize/macropg.cxx +++ b/cui/source/customize/macropg.cxx @@ -493,7 +493,6 @@ void _SvxMacroTabPage::DisplayAppEvents( bool appEvents) SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox(); mpImpl->pEventLB->SetUpdateMode( sal_False ); rListBox.Clear(); - SvTreeListEntry* pE = rListBox.GetEntry( 0 ); EventsHash* eventsHash; Reference< container::XNameReplace> nameReplace; if(bAppEvents) @@ -552,7 +551,7 @@ void _SvxMacroTabPage::DisplayAppEvents( bool appEvents) rListBox.MakeVisible( _pE ); } - pE = rListBox.GetEntry(0); + SvTreeListEntry* pE = rListBox.GetEntry(0); if( pE ) { rListBox.Select( pE ); |