summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpcontentprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontentprovider.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpcontentprovider.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
index 8e12847fc34e..07051ab758e9 100644
--- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx
+++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx
@@ -98,9 +98,9 @@ css::uno::Sequence< css::uno::Type > SAL_CALL FTPContentProvider::getTypes()
if ( !pCollection )
{
static cppu::OTypeCollection collection(
- getCppuType( static_cast< css::uno::Reference< XTypeProvider >*>(0) ),
- getCppuType( static_cast< css::uno::Reference< XServiceInfo>*> (0) ),
- getCppuType( static_cast< css::uno::Reference< XContentProvider>*> (0) )
+ cppu::UnoType<XTypeProvider>::get(),
+ cppu::UnoType<XServiceInfo>::get(),
+ cppu::UnoType<XContentProvider>::get()
);
pCollection = &collection;
}