Kaydet (Commit) b86343ea authored tarafından Caolán McNamara's avatar Caolán McNamara

CID#708782 unused pointer value

Change-Id: I15c34278a3dca19547c77be7aca670fbbc2d2037
üst 2a20c95e
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment