summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/XPropertyTable.cxx
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 /svx/source/unodraw/XPropertyTable.cxx
parent9e8629c73327474598c4c1f2250937544a1562e7 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
Diffstat (limited to 'svx/source/unodraw/XPropertyTable.cxx')
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index 597075347b8c..5d30c42b8a46 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -293,7 +293,7 @@ XPropertyEntry* SvxUnoXColorTable::getEntry( const OUString& rName, const uno::A
uno::Type SAL_CALL SvxUnoXColorTable::getElementType()
throw( uno::RuntimeException, std::exception )
{
- return ::getCppuType((const sal_Int32*)0);
+ return ::cppu::UnoType<sal_Int32>::get();
}
// XServiceInfo
@@ -678,7 +678,7 @@ XPropertyEntry* SvxUnoXBitmapTable::getEntry( const OUString& rName, const uno::
uno::Type SAL_CALL SvxUnoXBitmapTable::getElementType()
throw( uno::RuntimeException, std::exception )
{
- return ::getCppuType((const OUString*)0);
+ return ::cppu::UnoType<OUString>::get();
}
// XServiceInfo