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

Stephan Bergmann sbergman at redhat.com
Wed Jul 8 12:00:38 PDT 2015


 io/source/stm/streamhelper.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8585e0a1fd7a31a6ee85b05fdff57b11797e0ea3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jul 8 20:59:29 2015 +0200

    Avoid loplugin:staticmethods in non-debug build
    
    Change-Id: I205531a51f9d3e6611aafc5eb8fbd1ab49a517d8

diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx
index 0275557..1fa232b 100644
--- a/io/source/stm/streamhelper.hxx
+++ b/io/source/stm/streamhelper.hxx
@@ -118,6 +118,7 @@ private:
         assert( m_nOccupiedBuffer <= m_nBufferLen );
         assert( m_nStart >= 0 );
         assert( 0 == m_nStart || m_nStart < m_nBufferLen );
+        (void) this; // avoid loplugin:staticmethods
     }
 
     sal_Int8    *m_p;


More information about the Libreoffice-commits mailing list