summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxfont.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/vclxfont.cxx
parenta470fe1ea0ff3c9ecfb7664accb50e8ee424b660 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part13
Change-Id: Ieecfd7ccb10c75ac639d0ba8e7cb588607097c2a
Diffstat (limited to 'toolkit/source/awt/vclxfont.cxx')
-rw-r--r--toolkit/source/awt/vclxfont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx
index 06a440b24b09..14174f25b5d7 100644
--- a/toolkit/source/awt/vclxfont.cxx
+++ b/toolkit/source/awt/vclxfont.cxx
@@ -84,7 +84,7 @@ IMPL_XUNOTUNNEL( VCLXFont )
// ::com::sun::star::lang::XTypeProvider
IMPL_XTYPEPROVIDER_START( VCLXFont )
- getCppuType( ( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont2>* ) NULL )
+ cppu::UnoType<com::sun::star::awt::XFont2>::get()
IMPL_XTYPEPROVIDER_END