diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-08 18:12:01 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-08 18:12:58 +0200 |
commit | 76e8779787afef2e1e2b04adc8eaffe0b4d1f897 (patch) | |
tree | 1265fbfab5a4692e7c73d8cc8d3bd9e4e398a39a /svx/source/xml | |
parent | 9e8629c73327474598c4c1f2250937544a1562e7 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
Diffstat (limited to 'svx/source/xml')
-rw-r--r-- | svx/source/xml/xmlxtimp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx index bce885e94a86..50251c09b46d 100644 --- a/svx/source/xml/xmlxtimp.cxx +++ b/svx/source/xml/xmlxtimp.cxx @@ -469,7 +469,7 @@ SvXMLImportContext *SvxXMLXTableImport::CreateContext( sal_uInt16 nPrefix, const if ( rLocalName == "color-table" ) { - if( aType == ::getCppuType((const sal_Int32*)0) ) + if( aType == ::cppu::UnoType<sal_Int32>::get() ) return new SvxXMLTableImportContext( *this, nPrefix, rLocalName, xAttrList, stice_color, mrTable, bOOoFormat ); } else if ( rLocalName == "marker-table" ) @@ -494,7 +494,7 @@ SvXMLImportContext *SvxXMLXTableImport::CreateContext( sal_uInt16 nPrefix, const } else if ( rLocalName == "bitmap-table" ) { - if( aType == ::getCppuType((const OUString*)0)) + if( aType == ::cppu::UnoType<OUString>::get()) return new SvxXMLTableImportContext( *this, nPrefix, rLocalName, xAttrList, stice_bitmap, mrTable, bOOoFormat ); } } |