CID#708782 unused pointer value

Change-Id: I15c34278a3dca19547c77be7aca670fbbc2d2037
This commit is contained in:
Caolán McNamara
2013-10-06 20:17:45 +01:00
parent 2a20c95e84
commit b86343eaac

View File

@@ -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 );