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