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

Stephan Bergmann sbergman at redhat.com
Wed May 23 20:19:19 UTC 2018


 xmlsecurity/source/xmlsec/nss/nssinitializer.cxx        |    7 -------
 xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx |    8 --------
 2 files changed, 15 deletions(-)

New commits:
commit 7d35379465058f2a4f944ad622b628bd1ed38ee2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed May 23 17:18:34 2018 +0200

    Remove leftover "#undef DEBUG"
    
    ...which might have had a purpose in the past, but look unused today.  (DEBUG is
    defined in solenv/gbuild/gbuild.mk iff dbglevel >= 2, and `make
    Library_xsec_xmlsec dbglevel=2` doesn't run into any problems for me with the
    undefs removed.)
    
    Change-Id: I7f941e8c2d454f4206fb17bc791247606ffe6309
    Reviewed-on: https://gerrit.libreoffice.org/54718
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
index 2a9aaab057bb..c402e2833604 100644
--- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
+++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
@@ -17,13 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-
-/*
- * and turn off the additional virtual methods which are part of some interfaces when compiled
- * with debug
- */
-#undef DEBUG
-
 #include <com/sun/star/lang/IllegalArgumentException.hpp>
 #include <com/sun/star/mozilla/XMozillaBootstrap.hpp>
 #include <com/sun/star/xml/crypto/DigestID.hpp>
diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
index 58fa45acf4b6..45b85cb97705 100644
--- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
@@ -17,14 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-/*
- * and turn off the additional virtual methods which are part of some interfaces when compiled
- * with debug
- */
-#ifdef DEBUG
-#undef DEBUG
-#endif
-
 #include <comphelper/processfactory.hxx>
 #include <sal/types.h>
 #include <rtl/bootstrap.hxx>


More information about the Libreoffice-commits mailing list