[Libreoffice-commits] core.git: include/sal
Noel Grandin
noel at peralex.com
Wed Jun 4 23:36:04 PDT 2014
include/sal/types.h | 18 ------------------
1 file changed, 18 deletions(-)
New commits:
commit 06b63d3d83616e2abbd6f5ec93e1596988e455c2
Author: Noel Grandin <noel at peralex.com>
Date: Thu Jun 5 08:34:46 2014 +0200
remove the definition of SAL_THROW macro
Change-Id: I3d389174684cdc86ddb098629da57ebf142424c9
diff --git a/include/sal/types.h b/include/sal/types.h
index c19673a..86c31c2 100644
--- a/include/sal/types.h
+++ b/include/sal/types.h
@@ -347,21 +347,6 @@ typedef struct _sal_Sequence
#if defined __cplusplus
-/** Exception specification documentation.
-
- The original intent of this macro was to control whether or not actual
- exception specifications are emitted, based on how much they impact code
- size etc. in a specific scenario. But it ended up always being disabled
- (except for MSVC, which effectively ignored it even though being enabled),
- and used in ways that would make enabling it illegal (e.g., in the
- cppu::ComponentFactoryFunc typedef, or with necessarily incomplete
- com::sun::star::uno::RuntimeException in com/sun/star/uno/Reference.h), so
- has officially been demoted to pure documentation now.
-
- @deprecated do not use in new code.
-*/
-#define SAL_THROW(x)
-
/** Nothrow specification for C functions.
This is a macro so it can expand to nothing in C code.
@@ -370,9 +355,6 @@ typedef struct _sal_Sequence
#else
-/* SAL_THROW() must not be used in C code, only SAL_THROW_EXTERN_C() is defined
- there:
-*/
#define SAL_THROW_EXTERN_C()
#endif
More information about the Libreoffice-commits
mailing list