From 135c63c8f9cc363c0895542b0f3bed48b61ea836 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 4 May 2012 15:51:56 +0200 Subject: fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382 --- sal/inc/sal/types.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sal/inc') diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h index 288c2e75ce74..3db8cf48aff3 100644 --- a/sal/inc/sal/types.h +++ b/sal/inc/sal/types.h @@ -350,16 +350,6 @@ typedef struct _sal_Sequence #pragma pack(pop) #endif - -/* Historical macros, no need to use, old use cases should be replaced - * by their expansions. - */ -#ifdef __cplusplus -#define SAL_CONST_CAST(type, expr) (const_cast< type >(expr)) -#define SAL_REINTERPRET_CAST(type, expr) (reinterpret_cast< type >(expr)) -#define SAL_STATIC_CAST(type, expr) (static_cast< type >(expr)) -#endif /* __cplusplus */ - /** Definition of function throw clause macros. These have been introduced to reduce code size by balancing out compiler bugs. -- cgit