diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-21 15:52:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-22 10:37:59 +0200 |
commit | 566922a98d548529feacb7c21bfc8897ff5b61af (patch) | |
tree | e55a4b26ac5b32d842efbc9d9e6dc5576b226005 /vcl/source/app | |
parent | 321b34419160da6829e30fc67f3d107fcb936390 (diff) |
convert WINDOW constants for GetWindow() methods to scoped enum
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/dbggui.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index 8bf7467dc04c..9a174079ce33 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -477,7 +477,7 @@ void DbgDialogTest( vcl::Window* pWindow ) { bool aAccelBuf[65536] = {false}; sal_uInt16 nChildCount = pWindow->GetChildCount(); - vcl::Window* pGetChild = pWindow->GetWindow( WINDOW_FIRSTCHILD ); + vcl::Window* pGetChild = pWindow->GetWindow( GetWindowType::FirstChild ); vcl::Window* pChild; Point aTabPos; @@ -492,7 +492,7 @@ void DbgDialogTest( vcl::Window* pWindow ) bool bOKCancelButton = false; bool bDefPushButton = false; bool bButton = false; - pGetChild = pWindow->GetWindow( WINDOW_FIRSTCHILD ); + pGetChild = pWindow->GetWindow( GetWindowType::FirstChild ); while ( pGetChild ) { pChild = pGetChild->ImplGetWindow(); @@ -506,7 +506,7 @@ void DbgDialogTest( vcl::Window* pWindow ) bDefPushButton = true; } - pGetChild = pGetChild->GetWindow( WINDOW_NEXT ); + pGetChild = pGetChild->GetWindow( GetWindowType::Next ); } if ( bButton ) @@ -521,7 +521,7 @@ void DbgDialogTest( vcl::Window* pWindow ) } sal_uInt16 i = 0; - pGetChild = pWindow->GetWindow( WINDOW_FIRSTCHILD ); + pGetChild = pWindow->GetWindow( GetWindowType::FirstChild ); while ( pGetChild ) { pChild = pGetChild->ImplGetWindow(); @@ -637,7 +637,7 @@ void DbgDialogTest( vcl::Window* pWindow ) if ( (i+1 < nChildCount) && !aText.isEmpty() ) { - vcl::Window* pTempChild = pGetChild->GetWindow( WINDOW_NEXT )->ImplGetWindow(); + vcl::Window* pTempChild = pGetChild->GetWindow( GetWindowType::Next )->ImplGetWindow(); if ( (pTempChild->GetType() == WINDOW_EDIT) || (pTempChild->GetType() == WINDOW_MULTILINEEDIT) || (pTempChild->GetType() == WINDOW_SPINFIELD) || @@ -807,7 +807,7 @@ void DbgDialogTest( vcl::Window* pWindow ) } } - pGetChild = pGetChild->GetWindow( WINDOW_NEXT ); + pGetChild = pGetChild->GetWindow( GetWindowType::Next ); i++; } } |