[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Tue Nov 21 10:20:46 UTC 2017


 vcl/source/window/paint.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1de5ed41a2a39f7961c877ec5fab8501d70fea7d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 21 11:18:52 2017 +0100

    loplugin:unnecessaryparen
    
    ...with a Clang build with <https://reviews.llvm.org/D40167> "In stdbool.h,
    define bool, false, true only in gnu++98" locally fixed
    
    Change-Id: Ib85111cf8d058b6d7be6460af5266dfccb28c951

diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index f5ab502de3f6..04aab4ccdcaa 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1537,7 +1537,7 @@ void Window::ImplScroll( const tools::Rectangle& rRect,
     OutputDevice *pOutDev = GetOutDev();
 
     // RTL: check if this window requires special action
-    bool bReMirror = ( ImplIsAntiparallel() );
+    bool bReMirror = ImplIsAntiparallel();
 
     tools::Rectangle aRectMirror( rRect );
     if( bReMirror )


More information about the Libreoffice-commits mailing list