diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/sal/types.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h index a6be1552f5fb..53d1645eedd1 100644 --- a/sal/inc/sal/types.h +++ b/sal/inc/sal/types.h @@ -374,20 +374,27 @@ typedef struct _sal_Sequence #define SAL_THROW_EXTERN_C() #endif - +#ifdef __cplusplus +} +#endif /* __cplusplus */ #ifdef __cplusplus + enum __sal_NoAcquire { /** definition of a no acquire enum for ctors */ SAL_NO_ACQUIRE }; -#endif /* __cplusplus */ +namespace com { namespace sun { namespace star { } } } + +/** short-circuit extra-verbose API namespaces + + @since LibreOffice 4.0 +*/ +namespace css = ::com::sun::star; -#ifdef __cplusplus -} #endif /* __cplusplus */ #ifdef __cplusplus @@ -411,14 +418,6 @@ template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) { } -namespace com { namespace sun { namespace star { } } } - -/** short-circuit extra-verbose API namespaces - - @since LibreOffice 4.0 -*/ -namespace css = ::com::sun::star; - #else /* __cplusplus */ /** |