diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-14 23:17:17 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-14 23:18:57 +0200 |
commit | c288b17cc5a1d5051325e02a29aa40df5be6f016 (patch) | |
tree | a18b17b49cd5917c456fc2e0c1697fdbbb273195 /sfx2/source | |
parent | 67f85d7419a475c1e10b6b1d829bb0c575a39fbf (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/notify/globalevents.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx index 9b23045417bd..fa0949382212 100644 --- a/sfx2/source/notify/globalevents.cxx +++ b/sfx2/source/notify/globalevents.cxx @@ -445,7 +445,7 @@ uno::Reference< container::XEnumeration > SAL_CALL SfxGlobalEvents_Impl::createE uno::Type SAL_CALL SfxGlobalEvents_Impl::getElementType() throw (uno::RuntimeException, std::exception) { - return ::getCppuType(static_cast< uno::Reference< frame::XModel >* >(NULL)); + return cppu::UnoType<frame::XModel>::get(); } |