summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxbitmap.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-15 22:51:43 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-15 22:52:22 +0200
commit68741d0055f3b76f88ca225b0ebe4991d6cb2f7f (patch)
tree88cfb046b14c5617a83ba77fc61ceeadfd12aab7 /toolkit/source/awt/vclxbitmap.cxx
parenta470fe1ea0ff3c9ecfb7664accb50e8ee424b660 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part13
Change-Id: Ieecfd7ccb10c75ac639d0ba8e7cb588607097c2a
Diffstat (limited to 'toolkit/source/awt/vclxbitmap.cxx')
-rw-r--r--toolkit/source/awt/vclxbitmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxbitmap.cxx b/toolkit/source/awt/vclxbitmap.cxx
index b64cdfdeb584..e989da30f8ff 100644
--- a/toolkit/source/awt/vclxbitmap.cxx
+++ b/toolkit/source/awt/vclxbitmap.cxx
@@ -44,8 +44,8 @@ IMPL_XUNOTUNNEL( VCLXBitmap )
// ::com::sun::star::lang::XTypeProvider
IMPL_XTYPEPROVIDER_START( VCLXBitmap )
- getCppuType( ( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XBitmap>* ) NULL ),
- getCppuType( ( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDisplayBitmap>* ) NULL )
+ cppu::UnoType<com::sun::star::awt::XBitmap>::get(),
+ cppu::UnoType<com::sun::star::awt::XDisplayBitmap>::get()
IMPL_XTYPEPROVIDER_END