summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpcontentidentifier.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontentidentifier.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpcontentidentifier.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontentidentifier.cxx b/ucb/source/ucp/ftp/ftpcontentidentifier.cxx
index 94837e4a3f18..6e7d15e036b7 100644
--- a/ucb/source/ucp/ftp/ftpcontentidentifier.cxx
+++ b/ucb/source/ucp/ftp/ftpcontentidentifier.cxx
@@ -91,10 +91,8 @@ FTPContentIdentifier::getTypes(
if ( !pCollection )
{
static cppu::OTypeCollection collection(
- getCppuType(
- static_cast<Reference<XTypeProvider>*>(0)),
- getCppuType(
- static_cast<Reference<XContentIdentifier>*>(0)));
+ cppu::UnoType<XTypeProvider>::get(),
+ cppu::UnoType<XContentIdentifier>::get());
pCollection = &collection;
}
}