diff options
-rw-r--r-- | include/cppu/unotype.hxx | 4 | ||||
-rw-r--r-- | include/rtl/ustrbuf.hxx | 2 | ||||
-rw-r--r-- | include/sal/types.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/cppu/unotype.hxx b/include/cppu/unotype.hxx index 40708129ae6f..904621fc6756 100644 --- a/include/cppu/unotype.hxx +++ b/include/cppu/unotype.hxx @@ -149,7 +149,7 @@ cppu_detail_getUnoType( ::typelib_TypeClass_UNSIGNED_SHORT); } -#if LIBO_INTERNAL_ONLY +#if defined LIBO_INTERNAL_ONLY // cf. sal/types.h sal_Unicode inline css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_uInt16 const *) { @@ -194,7 +194,7 @@ cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoCharType const *) { return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_CHAR); } -#if LIBO_INTERNAL_ONLY +#if defined LIBO_INTERNAL_ONLY // cf. sal/types.h sal_Unicode inline css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Unicode const *) { diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx index 32ce9cabe269..1a39bd3fe19f 100644 --- a/include/rtl/ustrbuf.hxx +++ b/include/rtl/ustrbuf.hxx @@ -779,7 +779,7 @@ public: return append( &c, 1 ); } -#if LIBO_INTERNAL_ONLY && (!defined SAL_W32 || defined __clang__) +#if defined LIBO_INTERNAL_ONLY && (!defined SAL_W32 || defined __clang__) // cf. sal/types.h sal_Unicode void append(sal_uInt16) = delete; #endif diff --git a/include/sal/types.h b/include/sal/types.h index 6616670fcb01..93953753ae25 100644 --- a/include/sal/types.h +++ b/include/sal/types.h @@ -136,7 +136,7 @@ typedef unsigned char sal_uChar; typedef wchar_t sal_Unicode; #else #define SAL_UNICODE_NOTEQUAL_WCHAR_T -#if LIBO_INTERNAL_ONLY && defined __cplusplus +#if defined LIBO_INTERNAL_ONLY && defined __cplusplus typedef char16_t sal_Unicode; #else typedef sal_uInt16 sal_Unicode; |