diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-24 10:57:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-25 08:52:56 +0100 |
commit | a9e6e5bf4dd59e8d584bd4949991e97d3fe79fa4 (patch) | |
tree | 751334a4687c05cfbaed5cabf5b9aee1e3d89455 /xmlsecurity | |
parent | ec52e5e5a204862905b555cdc1f7393aede1f7d8 (diff) |
The [_]DEBUG_WAS_DEFINED macros are not used here
...but only in connectivity/source/drivers/mozab/{pre,post}_include_mozilla.h,
which is never included from here, so this smells like cargo-cult.
Change-Id: Iac0d7d60caad7c090445d551b7adb50424130e2a
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 10 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx | 10 |
2 files changed, 4 insertions, 16 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx index 373f4f96d5e5..24df691143c4 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx @@ -22,10 +22,7 @@ * Turn off DEBUG Assertions */ #ifdef _DEBUG - #define _DEBUG_WAS_DEFINED _DEBUG - #undef _DEBUG -#else - #undef _DEBUG_WAS_DEFINED +#undef _DEBUG #endif /* @@ -33,10 +30,7 @@ * with debug */ #ifdef DEBUG - #define DEBUG_WAS_DEFINED DEBUG - #undef DEBUG -#else - #undef DEBUG_WAS_DEFINED +#undef DEBUG #endif diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx index 623919ae86a7..980ff36a189d 100644 --- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx @@ -22,10 +22,7 @@ * Turn off DEBUG Assertions */ #ifdef _DEBUG - #define _DEBUG_WAS_DEFINED _DEBUG - #undef _DEBUG -#else - #undef _DEBUG_WAS_DEFINED +#undef _DEBUG #endif /* @@ -33,10 +30,7 @@ * with debug */ #ifdef DEBUG - #define DEBUG_WAS_DEFINED DEBUG - #undef DEBUG -#else - #undef DEBUG_WAS_DEFINED +#undef DEBUG #endif #include <comphelper/processfactory.hxx> |