CID#708782 unused pointer value
Change-Id: I15c34278a3dca19547c77be7aca670fbbc2d2037
This commit is contained in:
@@ -493,7 +493,6 @@ void _SvxMacroTabPage::DisplayAppEvents( bool appEvents)
|
|||||||
SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox();
|
SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox();
|
||||||
mpImpl->pEventLB->SetUpdateMode( sal_False );
|
mpImpl->pEventLB->SetUpdateMode( sal_False );
|
||||||
rListBox.Clear();
|
rListBox.Clear();
|
||||||
SvTreeListEntry* pE = rListBox.GetEntry( 0 );
|
|
||||||
EventsHash* eventsHash;
|
EventsHash* eventsHash;
|
||||||
Reference< container::XNameReplace> nameReplace;
|
Reference< container::XNameReplace> nameReplace;
|
||||||
if(bAppEvents)
|
if(bAppEvents)
|
||||||
@@ -552,7 +551,7 @@ void _SvxMacroTabPage::DisplayAppEvents( bool appEvents)
|
|||||||
rListBox.MakeVisible( _pE );
|
rListBox.MakeVisible( _pE );
|
||||||
}
|
}
|
||||||
|
|
||||||
pE = rListBox.GetEntry(0);
|
SvTreeListEntry* pE = rListBox.GetEntry(0);
|
||||||
if( pE )
|
if( pE )
|
||||||
{
|
{
|
||||||
rListBox.Select( pE );
|
rListBox.Select( pE );
|
||||||
|
Reference in New Issue
Block a user