summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-03 16:53:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-03 20:07:40 +0100
commite61d41ea3510a9abf40f2cb6a7b8c6009d2513db (patch)
tree667606be780d049bce7070e1af794ed2465c56ce /sfx2
parentRemove Mac OS X for PowerPC support (diff)
downloadcore-e61d41ea3510a9abf40f2cb6a7b8c6009d2513db.tar.gz
core-e61d41ea3510a9abf40f2cb6a7b8c6009d2513db.zip
convert calc format cells dialog to .ui format
Change-Id: Ic134909f3e65bcb1aa440f60a156f293225d3edc
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/tabdlg.hxx1
-rw-r--r--sfx2/source/dialog/tabdlg.cxx5
2 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/inc/sfx2/tabdlg.hxx b/sfx2/inc/sfx2/tabdlg.hxx
index e63718735667..435a4158d0b0 100644
--- a/sfx2/inc/sfx2/tabdlg.hxx
+++ b/sfx2/inc/sfx2/tabdlg.hxx
@@ -183,6 +183,7 @@ public:
sal_Bool bItemsOnDemand = sal_False,
sal_uInt16 nPos = TAB_APPEND);
+ void RemoveTabPage( const OString& rName ); // Name of the label for the page in the notebook .ui
void RemoveTabPage( sal_uInt16 nId );
void SetCurPageId(sal_uInt16 nId)
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 41b16d64bb51..bec9cc1a4ee7 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -987,6 +987,11 @@ void SfxTabDialog::RemoveTabPage( sal_uInt16 nId )
}
}
+void SfxTabDialog::RemoveTabPage(const OString &rName)
+{
+ RemoveTabPage(m_pTabCtrl->GetPageId(rName));
+}
+
// -----------------------------------------------------------------------
void SfxTabDialog::PageCreated