diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-13 12:40:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-13 18:05:03 +0200 |
commit | 88f7ac5ccd358069e356c544888386b745c82732 (patch) | |
tree | e3afbbfcc537f14dd9b409be8ab71106e7bbded3 /sfx2/source/dialog/tabdlg.cxx | |
parent | 74edbc474975266a1cee36d47cb0443808f9c19a (diff) |
add GetDialogExampleSet rather than guess at it
Change-Id: I8d7fc780c77e7f410ce78eb07bcb92dcd71f6c13
Reviewed-on: https://gerrit.libreoffice.org/60434
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/dialog/tabdlg.cxx')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 3890448fc6d0..57a21626add1 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -369,6 +369,15 @@ weld::Window* SfxTabPage::GetDialogFrameWeld() const return GetFrameWeld(); } +const SfxItemSet* SfxTabPage::GetDialogExampleSet() const +{ + if (pImpl->mpDialogController) + return pImpl->mpDialogController->GetExampleSet(); + if (pImpl->mxDialog) + return pImpl->mxDialog->GetExampleSet(); + return nullptr; +} + SfxTabDialog::SfxTabDialog /* [Description] |