Kaydet (Commit) 5a043b09 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Replace remaining getCppuType et al with cppu::UnoType

Change-Id: Ie45abb59a982bc13b65eacf8061f8843e224cfd5
üst 23116414
......@@ -384,7 +384,7 @@ css::uno::Type SAL_CALL BaseContainer::getElementType()
{
// no lock necessary - because the type of our items
// is fix! no internal call or member needed ...
return ::getCppuType(static_cast< css::uno::Sequence< css::beans::PropertyValue >* >(NULL));
return cppu::UnoType<css::uno::Sequence< css::beans::PropertyValue >>::get();
}
......
......@@ -1854,7 +1854,7 @@ tools::PolyPolygon EscherPropertyContainer::GetPolyPolygon( const ::com::sun::st
}
}
}
else if ( rAny.getValueType() == ::getCppuType( ( const ::com::sun::star::drawing::PointSequenceSequence* ) 0 ) )
else if ( rAny.getValueType() == cppu::UnoType<css::drawing::PointSequenceSequence>::get() )
{
::com::sun::star::drawing::PointSequenceSequence const * pSourcePolyPolygon
= static_cast<css::drawing::PointSequenceSequence const *>(rAny.getValue());
......@@ -1892,7 +1892,7 @@ tools::PolyPolygon EscherPropertyContainer::GetPolyPolygon( const ::com::sun::st
}
}
}
else if ( rAny.getValueType() == ::getCppuType( ( const ::com::sun::star::drawing::PointSequence* ) 0 ) )
else if ( rAny.getValueType() == cppu::UnoType<css::drawing::PointSequence>::get() )
{
::com::sun::star::drawing::PointSequence const * pInnerSequence =
static_cast<css::drawing::PointSequence const *>(rAny.getValue());
......@@ -1917,7 +1917,7 @@ tools::PolyPolygon EscherPropertyContainer::GetPolyPolygon( const ::com::sun::st
}
}
}
else if ( rAny.getValueType() == ::getCppuType( ( const uno::Sequence< beans::PropertyValue >* ) 0 ) )
else if ( rAny.getValueType() == cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() )
{
uno::Sequence< beans::PropertyValue > const * pGeometrySeq =
static_cast<uno::Sequence< beans::PropertyValue > const *>(rAny.getValue());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment