summaryrefslogtreecommitdiff
path: root/include/ucbhelper
diff options
context:
space:
mode:
Diffstat (limited to 'include/ucbhelper')
-rw-r--r--include/ucbhelper/macros.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx
index f97d2e3f0051..8bdd20df0a15 100644
--- a/include/ucbhelper/macros.hxx
+++ b/include/ucbhelper/macros.hxx
@@ -32,8 +32,8 @@
-#define CPPU_TYPE( T ) getCppuType( static_cast< T * >( 0 ) )
-#define CPPU_TYPE_REF( T ) CPPU_TYPE( com::sun::star::uno::Reference< T > )
+#define CPPU_TYPE( T ) cppu::UnoType<T>::get()
+#define CPPU_TYPE_REF( T ) CPPU_TYPE( T )
// XTypeProvider impl. internals