summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-21 15:52:27 +0200
committerJan Holesovsky <kendy@collabora.com>2015-05-29 20:16:52 +0200
commita5e58e66d82a63d99ced4ed8a42c38ed6179aa6c (patch)
tree234325db56cadde360176607258cdf98d2db7826 /cui
parentcfd5cbae2871e45c60d3df24e954708d2f0d4b94 (diff)
convert WINDOW constants for GetWindow() methods to scoped enum
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
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();
}