From 6fa98a08f2f4b57b660fc39542a9ceb20779d769 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 2 Apr 2014 16:15:59 +0100 Subject: Related: fdo#75307 use the unique auto help id to identify tabpages and dialogs that are loaded from the .ui format Change-Id: Id8abff6d89818ca7384d9691a05eacd378a5905c --- vcl/source/window/tabpage.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vcl') diff --git a/vcl/source/window/tabpage.cxx b/vcl/source/window/tabpage.cxx index a733824ece12..5e5526d6607d 100644 --- a/vcl/source/window/tabpage.cxx +++ b/vcl/source/window/tabpage.cxx @@ -181,6 +181,14 @@ void TabPage::DeactivatePage() { } +OString TabPage::GetConfigId() const +{ + OString sId(GetHelpId()); + if (sId.isEmpty() && isLayoutEnabled(this)) + sId = GetWindow(WINDOW_FIRSTCHILD)->GetHelpId(); + return sId; +} + Size TabPage::GetOptimalSize() const { if (isLayoutEnabled(this)) -- cgit