diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 23:51:21 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 23:54:07 +0200 |
commit | fa51b556800f332b311786770b3d6e57b65f615c (patch) | |
tree | 4218dbf7025f8d88550d941c2394c8c442324187 /ucb/source/cacher | |
parent | 2241dd8d83fa8a89502ad7985427c5c79d94ce21 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
Diffstat (limited to 'ucb/source/cacher')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx index 5d4310929190..7cf70060b213 100644 --- a/ucb/source/cacher/cachedcontentresultset.cxx +++ b/ucb/source/cacher/cachedcontentresultset.cxx @@ -489,7 +489,7 @@ CCRS_PropertySetInfo::CCRS_PropertySetInfo( { Property& rMyProp = (*m_pProperties)[ nOrigProps - nDeleted ]; rMyProp.Name = m_aPropertyNameForFetchSize; - rMyProp.Type = getCppuType( static_cast< const sal_Int32 * >( 0 ) ); + rMyProp.Type = cppu::UnoType<sal_Int32>::get(); rMyProp.Attributes = PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT; if( nFetchSize != -1 ) @@ -503,7 +503,7 @@ CCRS_PropertySetInfo::CCRS_PropertySetInfo( { Property& rMyProp = (*m_pProperties)[ nOrigProps - nDeleted + 1 ]; rMyProp.Name = m_aPropertyNameForFetchDirection; - rMyProp.Type = getCppuType( static_cast< const sal_Bool * >( 0 ) ); + rMyProp.Type = cppu::UnoType<sal_Bool>::get(); rMyProp.Attributes = PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT; if( nFetchDirection != -1 ) |