summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-06 20:17:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-07 09:16:27 +0100
commitb86343eaac52c1508cc651998b23b31c9180c8a7 (patch)
treedc765c5a4625f5a0378b0b9eb0e5731e803c318d /cui
parentCID#738572 uninitialized members (diff)
downloadcore-b86343eaac52c1508cc651998b23b31c9180c8a7.tar.gz
core-b86343eaac52c1508cc651998b23b31c9180c8a7.zip
CID#708782 unused pointer value
Change-Id: I15c34278a3dca19547c77be7aca670fbbc2d2037
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/macropg.cxx3
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 );