summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-08 18:12:01 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-08 18:12:58 +0200
commit76e8779787afef2e1e2b04adc8eaffe0b4d1f897 (patch)
tree1265fbfab5a4692e7c73d8cc8d3bd9e4e398a39a /sw/source/ui/vba
parent9e8629c73327474598c4c1f2250937544a1562e7 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r--sw/source/ui/vba/vbapalette.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbapalette.cxx b/sw/source/ui/vba/vbapalette.cxx
index dbb8e600c341..1622a389d27b 100644
--- a/sw/source/ui/vba/vbapalette.cxx
+++ b/sw/source/ui/vba/vbapalette.cxx
@@ -72,7 +72,7 @@ public:
// Methods XElementAcess
virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE
{
- return ::getCppuType( (sal_Int32*)0 );
+ return ::cppu::UnoType<sal_Int32>::get();
}
virtual sal_Bool SAL_CALL hasElements() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE
{