diff options
Diffstat (limited to 'include/cppu')
-rw-r--r-- | include/cppu/unotype.hxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/cppu/unotype.hxx b/include/cppu/unotype.hxx index 2ab7681e61f5..a59445043735 100644 --- a/include/cppu/unotype.hxx +++ b/include/cppu/unotype.hxx @@ -149,6 +149,14 @@ cppu_detail_getUnoType( ::typelib_TypeClass_UNSIGNED_SHORT); } +#if LIBO_INTERNAL_ONLY && (!defined SAL_W32 || defined __MINGW32__) + // cf. sal/types.h sal_Unicode +inline css::uno::Type const & +cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_uInt16 const *) { + return cppu::detail::getTypeFromTypeClass(typelib_TypeClass_UNSIGNED_SHORT); +} +#endif + inline css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int32 const *) { return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_LONG); @@ -186,6 +194,14 @@ cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoCharType const *) { return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_CHAR); } +#if LIBO_INTERNAL_ONLY && (!defined SAL_W32 || defined __MINGW32__) + // cf. sal/types.h sal_Unicode +inline css::uno::Type const & +cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Unicode const *) { + return cppu::detail::getTypeFromTypeClass(typelib_TypeClass_CHAR); +} +#endif + inline css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::rtl::OUString const *) { return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_STRING); |