summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/tabdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/tabdlg.cxx')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index c63a62e3fdc5..ff5c508efdf9 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -312,6 +312,13 @@ SfxTabDialog* SfxTabPage::GetTabDialog() const
return dynamic_cast<SfxTabDialog*>(GetParentDialog());
}
+OString SfxTabPage::GetConfigId() const
+{
+ OString sId(GetHelpId());
+ if (sId.isEmpty() && isLayoutEnabled(this))
+ sId = GetWindow(GetWindowType::FirstChild)->GetHelpId();
+ return sId;
+}
SfxTabDialog::SfxTabDialog