diff options
Diffstat (limited to 'accessibility/source/helper/acc_factory.cxx')
-rw-r--r-- | accessibility/source/helper/acc_factory.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx index 3707209228ed..0c0bf172e599 100644 --- a/accessibility/source/helper/acc_factory.cxx +++ b/accessibility/source/helper/acc_factory.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -392,7 +392,7 @@ inline bool hasFloatingChild(Window *pWindow) { xContext = new FloatingWindowAccessible( _pXWindow ); } - else if ( nType == WINDOW_BORDERWINDOW && hasFloatingChild( pWindow ) ) + else if ( nType == WINDOW_BORDERWINDOW && hasFloatingChild( pWindow ) ) { PopupMenuFloatingWindow* pChild = dynamic_cast<PopupMenuFloatingWindow*>( pWindow->GetAccessibleChildWindow(0)); @@ -405,7 +405,7 @@ inline bool hasFloatingChild(Window *pWindow) } else xContext = new FloatingWindowAccessible( _pXWindow ); - } + } else if ( ( nType == WINDOW_HELPTEXTWINDOW ) || ( nType == WINDOW_FIXEDLINE ) ) { xContext = (accessibility::XAccessibleContext*) new VCLXAccessibleFixedText( _pXWindow ); |