diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-14 23:17:17 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-14 23:18:57 +0200 |
commit | c288b17cc5a1d5051325e02a29aa40df5be6f016 (patch) | |
tree | a18b17b49cd5917c456fc2e0c1697fdbbb273195 /xmloff | |
parent | 67f85d7419a475c1e10b6b1d829bb0c575a39fbf (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/sdpropls.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx index e8089caa61d3..ca6834012639 100644 --- a/xmloff/source/draw/sdpropls.cxx +++ b/xmloff/source/draw/sdpropls.cxx @@ -1051,12 +1051,12 @@ const XMLPropertyHandler* XMLSdPropHdlFactory::GetPropertyHandler( sal_Int32 nTy <= SvtSaveOptions::ODFVER_012)) { pHdl = new XMLEnumPropertyHdl(pXML_FitToSize_Enum_Odf12, - ::getCppuType(static_cast<const com::sun::star::drawing::TextFitToSizeType*>(0))); + cppu::UnoType<com::sun::star::drawing::TextFitToSizeType>::get()); } else { pHdl = new XMLEnumPropertyHdl(pXML_FitToSize_Enum, - ::getCppuType(static_cast<const com::sun::star::drawing::TextFitToSizeType*>(0))); + cppu::UnoType<com::sun::star::drawing::TextFitToSizeType>::get()); } } break; |