summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx4
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index 4957b3b35710..56155ddce018 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -580,9 +580,9 @@ namespace svt
vcl::Window *pWin = &aController->GetWindow();
if (!pWin->IsTracking())
{
- for (pWin = pWin->GetWindow(WINDOW_FIRSTCHILD);
+ for (pWin = pWin->GetWindow(GetWindowType::FirstChild);
pWin && !pWin->IsTracking();
- pWin = pWin->GetWindow(WINDOW_NEXT))
+ pWin = pWin->GetWindow(GetWindowType::Next))
{
}
}
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index 156159c160ac..ffb47bb6255b 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -323,7 +323,7 @@ namespace svt
void OWizardMachine::implResetDefault(vcl::Window* _pWindow)
{
- vcl::Window* pChildLoop = _pWindow->GetWindow(WINDOW_FIRSTCHILD);
+ vcl::Window* pChildLoop = _pWindow->GetWindow(GetWindowType::FirstChild);
while (pChildLoop)
{
// does the window participate in the tabbing order?
@@ -346,7 +346,7 @@ namespace svt
}
// the next one ...
- pChildLoop = pChildLoop->GetWindow(WINDOW_NEXT);
+ pChildLoop = pChildLoop->GetWindow(GetWindowType::Next);
}
}