diff options
Diffstat (limited to 'vcl/source/window/dlgctrl.cxx')
-rw-r--r-- | vcl/source/window/dlgctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx index 0ff589bc3407..6c481da574a6 100644 --- a/vcl/source/window/dlgctrl.cxx +++ b/vcl/source/window/dlgctrl.cxx @@ -78,7 +78,7 @@ static Window* ImplGetSubChildWindow( Window* pParent, sal_uInt16 n, sal_uInt16& Window* pTabPage = NULL; Window* pFoundWindow = NULL; - Window* pWindow = pParent->GetWindow( WINDOW_FIRSTCHILD ); + Window* pWindow = firstLogicalChildOfParent(pParent); Window* pNextWindow = pWindow; while ( pWindow ) { |