summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/treeopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index cf6021e63106..6146c5db89b8 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -1147,7 +1147,7 @@ void OfaTreeOptionsDialog::SelectHdl_Impl()
OString sHelpId(HID_OFADLG_TREELISTBOX);
if (::isLayoutEnabled(pNewPage))
{
- vcl::Window *pFirstChild = pNewPage->GetWindow(WINDOW_FIRSTCHILD);
+ vcl::Window *pFirstChild = pNewPage->GetWindow(GetWindowType::FirstChild);
assert(pFirstChild);
sHelpId = pFirstChild->GetHelpId();
}