summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-17 17:27:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-17 17:27:55 +0200
commitd4bda10ceef4502ce4717368c6a39ecd709cff7f (patch)
treee29dcbe63879719ebdda236aa5eab5b6ceaa7499 /vcl/source
parent7243c13bdd4cbc528673b658faea6772077fa1f6 (diff)
loplugin:unnecessaryparen: vcl (clang-cl)
Change-Id: I3d31a5b56007451a9982602b488ae6ac1baf1f50
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 6e35ebac9815..9f31fc185e29 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3580,7 +3580,7 @@ Reference< css::rendering::XCanvas > Window::ImplGetCanvas( bool bSpriteCanvas )
// surfaces spanning multiple displays). Note: canvas
// (without sprite) stays the same)
const sal_uInt32 nDisplay = static_cast< WinSalFrame* >( mpWindowImpl->mpFrame )->mnDisplay;
- if( (nDisplay >= Application::GetScreenCount()) )
+ if( nDisplay >= Application::GetScreenCount() )
{
xCanvas.set( xCanvasFactory->createInstanceWithArgumentsAndContext(
bSpriteCanvas ?