diff options
author | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2015-01-29 20:26:22 -0600 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-02-03 08:24:55 +0000 |
commit | e4f496854092eff196c07fb5be2d3c54af3b4179 (patch) | |
tree | b27c0f6236a6e5e21287d14027e49ef3879d6986 /vcl | |
parent | 3e7a6ff8c32e7fd5947b344e9d22ef7ba48dcca5 (diff) |
vcl: Remove commented-out code
Change-Id: I4bd2cf8a920c119d508e3316107fa2a616472ba2
Reviewed-on: https://gerrit.libreoffice.org/14259
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/accessibility.cxx | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/vcl/source/window/accessibility.cxx b/vcl/source/window/accessibility.cxx index 9a662f910bb6..e21197dc093c 100644 --- a/vcl/source/window/accessibility.cxx +++ b/vcl/source/window/accessibility.cxx @@ -260,22 +260,6 @@ sal_uInt16 Window::GetAccessibleChildWindowCount() pChild = pChild->mpWindowImpl->mpNext; } - // #107176# ignore overlapwindows - // this only affects non-system floating windows - // which are either not accessible (like the HelpAgent) or should be changed to system windows anyway - /* - if( ImplIsOverlapWindow() ) - { - vcl::Window* pOverlap = GetWindow( WINDOW_FIRSTOVERLAP ); - while ( pOverlap ) - { - if( pOverlap->IsVisible() ) - nChildren++; - pOverlap = pOverlap->GetWindow( WINDOW_NEXT ); - } - } - */ - // report the menubarwindow as a child of THE workwindow if( GetType() == WINDOW_BORDERWINDOW ) { @@ -332,28 +316,7 @@ vcl::Window* Window::GetAccessibleChildWindow( sal_uInt16 n ) do pChild = pChild->mpWindowImpl->mpNext; while( pChild && ! pChild->IsVisible() ); DBG_ASSERT( pChild, "GetAccessibleChildWindow(): wrong index in border window"); } - if ( !pChild ) - { - // #107176# ignore overlapwindows - /* - if( ImplIsOverlapWindow() ) - { - vcl::Window* pOverlap = GetWindow( WINDOW_FIRSTOVERLAP ); - while ( !pChild && pOverlap ) - { - if ( !nChildren && pOverlap->IsVisible() ) - { - pChild = pOverlap; - break; - } - pOverlap = pOverlap->GetWindow( WINDOW_NEXT ); - if( pOverlap && pOverlap->IsVisible() ) - nChildren--; - } - } - */ - } if ( pChild && ( pChild->GetType() == WINDOW_BORDERWINDOW ) && ( pChild->GetChildCount() == 1 ) ) { pChild = pChild->GetChild( 0 ); |