summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/sdpropls.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/sdpropls.cxx')
-rw-r--r--xmloff/source/draw/sdpropls.cxx4
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;