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

Tor Lillqvist tml at collabora.com
Tue Sep 1 04:50:24 PDT 2015


 sw/source/filter/html/htmlplug.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 00b0ce6756184acbdf1a459e4a602534d7e1f05d
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Sep 1 14:49:37 2015 +0300

    WaE: loplugin:staticmethods in the non-Java case
    
    Change-Id: Ibebe470d0d0c00bfcaf7b3cb90aa102e8101b7bc

diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx
index 8271967..95e8e57 100644
--- a/sw/source/filter/html/htmlplug.cxx
+++ b/sw/source/filter/html/htmlplug.cxx
@@ -655,6 +655,8 @@ void SwHTMLParser::EndObject()
         delete pAppletImpl;
         pAppletImpl = 0;
     }
+#else
+    (void) this;                // Silence loplugin:staticmethods
 #endif
 }
 
@@ -786,6 +788,8 @@ void SwHTMLParser::EndApplet()
 
     delete pAppletImpl;
     pAppletImpl = 0;
+#else
+    (void) this;
 #endif
 }
 
@@ -816,6 +820,8 @@ void SwHTMLParser::InsertParam()
         return;
 
     pAppletImpl->AppendParam( aName, aValue );
+#else
+    (void) this;
 #endif
 }
 


More information about the Libreoffice-commits mailing list