diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-17 00:23:39 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-17 00:24:22 +0200 |
commit | dd33f91581aaca03a83a70d94195338516742fa2 (patch) | |
tree | f5ca034e1a928d43cbc00d637bdf3c256dffea7d /ucbhelper | |
parent | 8ae06100856964d849e8c6ecbc85cbb44bcf0414 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part14
Change-Id: Ibccaa2138426c22cd63d273a1b6cdc927ebe80dc
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/resultsetmetadata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucbhelper/source/provider/resultsetmetadata.cxx b/ucbhelper/source/provider/resultsetmetadata.cxx index ed9339e4c981..b894f74c5c63 100644 --- a/ucbhelper/source/provider/resultsetmetadata.cxx +++ b/ucbhelper/source/provider/resultsetmetadata.cxx @@ -456,7 +456,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnType( sal_Int32 column ) const Type& rType = m_aProps.getConstArray()[ column - 1 ].Type; sal_Int32 nType = DataType::OTHER; - if ( rType == getCppuType( static_cast< const OUString * >( 0 ) ) ) + if ( rType == cppu::UnoType<OUString>::get() ) nType = DataType::VARCHAR; // XRow::getString else if ( rType == getCppuBooleanType() ) nType = DataType::BIT; // XRow::getBoolean |