diff options
Diffstat (limited to 'filter/source/msfilter/escherex.cxx')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 7217ec10a9d3..d7ce53b4d4e9 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -1779,7 +1779,7 @@ PolyPolygon EscherPropertyContainer::GetPolyPolygon( const ::com::sun::star::uno PolyPolygon aRetPolyPoly; ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > aXPropSet; ::com::sun::star::uno::Any aAny( rXShape->queryInterface( - ::getCppuType( (const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >*) 0 ) )); + cppu::UnoType<com::sun::star::beans::XPropertySet>::get())); OUString sPolyPolygonBezier ( "PolyPolygonBezier" ); OUString sPolyPolygon ( "PolyPolygon" ); @@ -1808,7 +1808,7 @@ PolyPolygon EscherPropertyContainer::GetPolyPolygon( const ::com::sun::star::uno Polygon aPolygon; PolyPolygon aPolyPolygon; - if ( rAny.getValueType() == ::getCppuType( ( const ::com::sun::star::drawing::PolyPolygonBezierCoords* ) 0 ) ) + if ( rAny.getValueType() == cppu::UnoType<com::sun::star::drawing::PolyPolygonBezierCoords>::get()) { ::com::sun::star::drawing::PolyPolygonBezierCoords* pSourcePolyPolygon = (::com::sun::star::drawing::PolyPolygonBezierCoords*)rAny.getValue(); @@ -2329,7 +2329,7 @@ bool EscherPropertyContainer::CreateConnectorProperties( ::com::sun::star::awt::Point aStartPoint, aEndPoint; ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > aXPropSet; ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > aShapeA, aShapeB; - ::com::sun::star::uno::Any aAny( rXShape->queryInterface( ::getCppuType( (const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >*) 0 ) )); + ::com::sun::star::uno::Any aAny( rXShape->queryInterface( cppu::UnoType<com::sun::star::beans::XPropertySet>::get())); if ( aAny >>= aXPropSet ) { if ( EscherPropertyValueHelper::GetPropertyValue( aAny, aXPropSet, sEdgeKind, true ) ) |