summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-24 14:14:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-27 09:54:08 +0200
commit28fc0962b10519ab84654d189d2ad0cca8f84f95 (patch)
treeff2b008cb13f69724abfff62157c6a4e133135a2 /vcl/source/app
parent3d97c9d292d80cb82391bdb416a9c6217a8e16e4 (diff)
weld SwLabDlg
Change-Id: I55c543776c03b1d1da0331552b98e6e281e35937 Reviewed-on: https://gerrit.libreoffice.org/53488 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/salvtables.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 6ec83d72d0d8..c2f4312aa371 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -810,11 +810,21 @@ public:
m_xNotebook->SetCurPageId(m_xNotebook->GetPageId(rIdent));
}
+ virtual void remove_page(const OString& rIdent) override
+ {
+ m_xNotebook->RemovePage(m_xNotebook->GetPageId(rIdent));
+ }
+
virtual int get_n_pages() const override
{
return m_xNotebook->GetPageCount();
}
+ virtual OUString get_tab_label_text(const OString& rIdent) const override
+ {
+ return m_xNotebook->GetPageText(m_xNotebook->GetPageId(rIdent));
+ }
+
virtual ~SalInstanceNotebook() override
{
m_xNotebook->SetActivatePageHdl(Link<TabControl*,void>());