diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-12 16:57:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-13 08:12:45 +0100 |
commit | d59987b164bc32efe8f99ad49c139b4fc7ca3c2f (patch) | |
tree | 765652d6e940a5bdf43322ed54aa2f4c14116418 /vcl/source/app | |
parent | b4641df5de7842d6a8fc2c4f839214bf01160c8c (diff) |
loplugin:expandablemethods
Change-Id: I333d91ea5ce78c82e9bb107f934614efc7bfb8f7
Reviewed-on: https://gerrit.libreoffice.org/85078
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 8237dbae57e3..920e8e7765e9 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -6264,11 +6264,6 @@ public: { } - VclBuilder& get_builder() const - { - return *m_xBuilder; - } - virtual std::unique_ptr<weld::MessageDialog> weld_message_dialog(const OString &id, bool bTakeOwnership) override { MessageDialog* pMessageDialog = m_xBuilder->get<MessageDialog>(id); @@ -6585,7 +6580,7 @@ public: OString get_current_page_help_id() const { - TabControl *pCtrl = get_builder().get<TabControl>("tabcontrol"); + TabControl *pCtrl = m_xBuilder->get<TabControl>("tabcontrol"); TabPage* pTabPage = pCtrl ? pCtrl->GetTabPage(pCtrl->GetCurPageId()) : nullptr; vcl::Window *pTabChild = pTabPage ? pTabPage->GetWindow(GetWindowType::FirstChild) : nullptr; pTabChild = pTabChild ? pTabChild->GetWindow(GetWindowType::FirstChild) : nullptr; |