summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/macroass.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 14:56:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-10 06:51:17 +0000
commit76c8336eec82862732d3a26be84b5e8a52efe022 (patch)
treeffb1cbc0fe3cf7bf4f5620a5cfbf255e3792e560 /cui/source/tabpages/macroass.cxx
parent029a936aecb9b25d3ffefef072ba6fe86e19d305 (diff)
loplugin:expandablemethods in cui
Change-Id: I3dae1d142874c767ec1e32401acba0bbca95df5f Reviewed-on: https://gerrit.libreoffice.org/30716 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/tabpages/macroass.cxx')
-rw-r--r--cui/source/tabpages/macroass.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index 8c7a4e0f0387..3325b3f9c703 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -373,7 +373,11 @@ IMPL_LINK( SfxMacroTabPage, TimeOut_Impl, Idle*,, void )
pTabDlg->EnterWait();
pTabDlg->EnableInput( false );
}
- FillMacroList();
+ // fill macro list
+ mpImpl->pGroupLB->Init(
+ css::uno::Reference<css::uno::XComponentContext >(),
+ GetFrame(),
+ OUString(), false);
if ( pTabDlg )
{
pTabDlg->EnableInput();
@@ -414,15 +418,6 @@ void SfxMacroTabPage::InitAndSetHandler()
}
-void SfxMacroTabPage::FillMacroList()
-{
- mpImpl->pGroupLB->Init(
- css::uno::Reference<
- css::uno::XComponentContext >(),
- GetFrame(),
- OUString(), false);
-}
-
void SfxMacroTabPage::FillEvents()
{
SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox();