diff options
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/helper/acc_factory.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx index 287279acde7d..d74d2edc663c 100644 --- a/accessibility/source/helper/acc_factory.cxx +++ b/accessibility/source/helper/acc_factory.cxx @@ -73,10 +73,7 @@ namespace { inline bool hasFloatingChild(vcl::Window *pWindow) { vcl::Window * pChild = pWindow->GetAccessibleChildWindow(0); - if( pChild && WindowType::FLOATINGWINDOW == pChild->GetType() ) - return true; - - return false; + return pChild && WindowType::FLOATINGWINDOW == pChild->GetType(); } // IAccessibleFactory |