summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:39:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:39:12 +0200
commit5a043b09c6af2995ac75245118cb915d250d442a (patch)
tree182f38d31b558fba14a0d46467f9168b111d6696 /filter
parent23116414bd9ea84e3bcdb69b5001c082c9bbb6cc (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Ie45abb59a982bc13b65eacf8061f8843e224cfd5
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/basecontainer.cxx2
-rw-r--r--filter/source/msfilter/escherex.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index 5555d475bb02..fa2a4682fb94 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -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();
}
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index d9c42781733d..22bb0f0d5352 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -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());