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

Stephan Bergmann sbergman at redhat.com
Wed Jul 8 14:40:28 PDT 2015


 writerfilter/source/dmapper/PropertyMap.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 394b054a2f987d99178b72aec23b2f7269c727a5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jul 8 23:39:52 2015 +0200

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

diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index b9f46ff..e289538 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -398,6 +398,8 @@ void PropertyMap::printProperties()
     }
 
     TagLogger::getInstance().endElement();
+#else
+    (void) this; // avoid loplugin:staticmethods
 #endif
 }
 


More information about the Libreoffice-commits mailing list