diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 00:14:44 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 06:19:42 +0200 |
commit | 5ec7a589bed7991ffe8ad9a2f544a6699d159765 (patch) | |
tree | f9020375a29477fe7e4d22970a4040c36abadbdf /sw/source/core/para | |
parent | 83a88b942134314e86ac612d0ef70a8e4919e4af (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
Diffstat (limited to 'sw/source/core/para')
-rw-r--r-- | sw/source/core/para/paratr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/para/paratr.cxx b/sw/source/core/para/paratr.cxx index 02fb48327617..88ec5406e816 100644 --- a/sw/source/core/para/paratr.cxx +++ b/sw/source/core/para/paratr.cxx @@ -135,7 +135,7 @@ bool SwFmtDrop::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const aDrop.Lines = nLines ; aDrop.Count = nChars ; aDrop.Distance = convertTwipToMm100(nDistance); - rVal.setValue(&aDrop, ::getCppuType((const style::DropCapFormat*)0)); + rVal.setValue(&aDrop, ::cppu::UnoType<style::DropCapFormat>::get()); } break; case MID_DROPCAP_WHOLE_WORD: @@ -185,7 +185,7 @@ bool SwFmtDrop::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) } case MID_DROPCAP_FORMAT: { - if(rVal.getValueType() == ::getCppuType((const style::DropCapFormat*)0)) + if(rVal.getValueType() == ::cppu::UnoType<style::DropCapFormat>::get()) { const style::DropCapFormat* pDrop = (const style::DropCapFormat*)rVal.getValue(); nLines = pDrop->Lines; |