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

Stephan Bergmann sbergman at redhat.com
Mon Sep 28 05:54:44 PDT 2015


 vcl/unx/generic/app/randrwrapper.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 505933da253a9d1d5dd00f2243c714f8ec8aa313
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 28 14:54:15 2015 +0200

    loplugin:staticmethods
    
    Change-Id: I58baa20b852bda3160f23f43a751404248244348

diff --git a/vcl/unx/generic/app/randrwrapper.cxx b/vcl/unx/generic/app/randrwrapper.cxx
index 321e29f..9509c19 100644
--- a/vcl/unx/generic/app/randrwrapper.cxx
+++ b/vcl/unx/generic/app/randrwrapper.cxx
@@ -261,6 +261,7 @@ void SalDisplay::InitRandR( ::Window aRoot ) const
     if( m_bUseRandRWrapper )
         RandRWrapper::get( GetDisplay() ).XRRSelectInput( GetDisplay(), aRoot, RRScreenChangeNotifyMask );
     #else
+    (void)this;
     (void)aRoot;
     #endif
 }
@@ -273,6 +274,8 @@ void SalDisplay::DeInitRandR()
 #if OSL_DEBUG_LEVEL > 1
     fprintf( stderr, "SalDisplay::DeInitRandR()\n" );
 #endif
+    #else
+    (void)this;
     #endif
 }
 
@@ -321,6 +324,7 @@ int SalDisplay::processRandREvent( XEvent* pEvent )
         }
     }
     #else
+    (void)this;
     (void)pEvent;
     #endif
     return nRet;


More information about the Libreoffice-commits mailing list