diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-28 15:27:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-04-29 15:34:09 +0200 |
commit | b32a54d6da5c51a5d0d607d4d97a3fdbede20e03 (patch) | |
tree | a6031af53dd50818b5eccb150d25bf6c658cb1aa /sfx2 | |
parent | 288b9a3e22c2495c24d6fd195bd8f33a990a9b81 (diff) |
weld SwFootNoteOptionDlg
Change-Id: I00713527deab7f8cb9f137c35db7d28c5a896171
Reviewed-on: https://gerrit.libreoffice.org/53609
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 'sfx2')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 9fc31515b861..9e6e9155cd9a 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -2057,4 +2057,24 @@ SfxItemSet* SfxTabDialogController::GetInputSetImpl() return m_pSet; } +void SfxTabDialogController::RemoveResetButton() +{ + m_xResetBtn->hide(); + m_pImpl->bHideResetBtn = true; +} + +SfxTabPage* SfxTabDialogController::GetTabPage(const OString& rPageId) const + +/* [Description] + + Return TabPage with the specified Id. +*/ + +{ + Data_Impl* pDataObject = Find(m_pImpl->aData, rPageId); + if (pDataObject) + return pDataObject->pTabPage; + return nullptr; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |