summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-21 15:52:27 +0200
committerNoel Grandin <noel@peralex.com>2015-05-22 10:37:59 +0200
commit566922a98d548529feacb7c21bfc8897ff5b61af (patch)
treee55a4b26ac5b32d842efbc9d9e6dc5576b226005 /cui
parent321b34419160da6829e30fc67f3d107fcb936390 (diff)
convert WINDOW constants for GetWindow() methods to scoped enum
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33
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();
}