summaryrefslogtreecommitdiff
path: root/include/com/sun/star/uno/Any.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:43:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:43:56 +0200
commit99661d3f5f902a004883a4be21649245de68a2fa (patch)
tree0ad57fae91dfe6ab7ed5ee807ed38422f0d32aad /include/com/sun/star/uno/Any.h
parent42c848c506b53a6de21c3b0129fd11d2f74e20b2 (diff)
Deprecate getCppuType et al in favor of cppu::UnoType
...which doesn't suffer from the sal_uInt16 vs. sal_Unicode ambiguity. Change-Id: I4de265145e720615652e88b6a68e03903ad8cba2
Diffstat (limited to 'include/com/sun/star/uno/Any.h')
-rw-r--r--include/com/sun/star/uno/Any.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/com/sun/star/uno/Any.h b/include/com/sun/star/uno/Any.h
index ea69ec7e696d..3ab2a4486647 100644
--- a/include/com/sun/star/uno/Any.h
+++ b/include/com/sun/star/uno/Any.h
@@ -376,7 +376,11 @@ inline bool SAL_CALL operator == ( const Any & rAny, const BaseReference & value
The dummy parameter is just a typed pointer for function signature.
@return type of IDL type any
+
+ @deprecated
+ Use cppu::UnoType instead.
*/
+SAL_DEPRECATED("use cppu::UnoType")
inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Any * )
{
return ::cppu::UnoType< ::com::sun::star::uno::Any >::get();