summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-05 08:34:46 +0200
committerNoel Grandin <noel@peralex.com>2014-06-05 08:34:46 +0200
commit06b63d3d83616e2abbd6f5ec93e1596988e455c2 (patch)
tree27da39d9c758db2f8d0ba8f0f1f9000fb5ecd000 /include
parent0e507ae031768deceab236a41d1bbe9fb5123cea (diff)
remove the definition of SAL_THROW macro
Change-Id: I3d389174684cdc86ddb098629da57ebf142424c9
Diffstat (limited to 'include')
-rw-r--r--include/sal/types.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/sal/types.h b/include/sal/types.h
index c19673afa11f..86c31c2efe34 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