summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx b/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx
index cc64e8c33190..96838feaced1 100644
--- a/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_passwordrequest.cxx
@@ -143,10 +143,8 @@ uno::Sequence< uno::Type > SAL_CALL InteractionSupplyPassword::getTypes()
if ( !pCollection )
{
static cppu::OTypeCollection collection(
- getCppuType( static_cast<
- uno::Reference< lang::XTypeProvider > * >( 0 ) ),
- getCppuType( static_cast<
- uno::Reference< task::XInteractionPassword > * >( 0 ) ) );
+ cppu::UnoType<lang::XTypeProvider>::get(),
+ cppu::UnoType<task::XInteractionPassword>::get() );
pCollection = &collection;
}
}