summaryrefslogtreecommitdiff
path: root/framework/source/inc/pattern/window.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/inc/pattern/window.hxx')
-rw-r--r--framework/source/inc/pattern/window.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx
index 2f2b21b21761..54ddce6e4119 100644
--- a/framework/source/inc/pattern/window.hxx
+++ b/framework/source/inc/pattern/window.hxx
@@ -54,10 +54,7 @@ static bool isTopWindow(const css::uno::Reference< css::awt::XWindow >& xWindow)
// a simple XWindow using the toolkit only .-(
SolarMutexGuard aSolarGuard;
VclPtr<vcl::Window> pWindow = VCLUnoHelper::GetWindow( xWindow );
- if (
- (pWindow ) &&
- (pWindow->IsSystemWindow())
- )
+ if ( pWindow && pWindow->IsSystemWindow() )
return true;
}