diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-03 13:48:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-04 09:52:35 +0100 |
commit | 1bfebbf2505fe0135c390bc011258c60f3abfd35 (patch) | |
tree | 550e4a1d56557f88143b181fba2351a578d1a975 /vcl | |
parent | a9296c2c5527c24c498cc6c5459463330cd78bd4 (diff) |
weld OfaQuoteTabPage
Change-Id: I7da18597e85a03d96197f32862686a49f9d8e153
Reviewed-on: https://gerrit.libreoffice.org/64465
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 3f9b13f55500..ca9669531403 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -1878,6 +1878,26 @@ public: return OUString(); } + virtual void show() override + { + SvHeaderTabListBox* pHeaderBox = dynamic_cast<SvHeaderTabListBox*>(m_xTreeView.get()); + if (HeaderBar* pHeaderBar = pHeaderBox ? pHeaderBox->GetHeaderBar() : nullptr) + { + pHeaderBar->Show(); + } + SalInstanceContainer::show(); + } + + virtual void hide() override + { + SvHeaderTabListBox* pHeaderBox = dynamic_cast<SvHeaderTabListBox*>(m_xTreeView.get()); + if (HeaderBar* pHeaderBar = pHeaderBox ? pHeaderBox->GetHeaderBar() : nullptr) + { + pHeaderBar->Hide(); + } + SalInstanceContainer::hide(); + } + virtual void insert(weld::TreeIter* pParent, int pos, const OUString* pStr, const OUString* pId, const OUString* pIconName, VirtualDevice* pImageSurface, const OUString* pExpanderName, bool bChildrenOnDemand) override |