[Libreoffice-commits] core.git: include/tools

Jochen Nitschke j.nitschke+logerrit at ok.de
Sun May 14 18:09:38 UTC 2017


 include/tools/diagnose_ex.h |   12 ------------
 1 file changed, 12 deletions(-)

New commits:
commit 40c81b6a3dbceca8bc93ff6aa42118921d274e19
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun May 14 17:10:40 2017 +0200

    remove duplicate define
    
    Change-Id: I005fee0d142315a5304ae64c80a898b070a37088
    Reviewed-on: https://gerrit.libreoffice.org/37601
    Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h
index 921b45648904..df71bfa01711 100644
--- a/include/tools/diagnose_ex.h
+++ b/include/tools/diagnose_ex.h
@@ -110,18 +110,6 @@ TOOLS_DLLPUBLIC void DbgUnhandledException(const css::uno::Any& caughtException,
         return;   \
     }
 
-
-
-/** This macro asserts the given condition (in debug mode), and
-    returns afterwards, without return value "void".
- */
-#define ENSURE_OR_RETURN_VOID( c, m ) \
-    if( !(c) )  \
-    { \
-        OSL_ENSURE( c, m ); \
-        return;   \
-    }
-
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list