diff options
Diffstat (limited to 'ucb/source/ucp/package/pkgcontentcaps.cxx')
-rw-r--r-- | ucb/source/ucp/package/pkgcontentcaps.cxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/ucb/source/ucp/package/pkgcontentcaps.cxx b/ucb/source/ucp/package/pkgcontentcaps.cxx index 2e81cb493a3a..54b4cbe1a2aa 100644 --- a/ucb/source/ucp/package/pkgcontentcaps.cxx +++ b/ucb/source/ucp/package/pkgcontentcaps.cxx @@ -363,14 +363,12 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "open" ), -1, - getCppuType( - static_cast< ucb::OpenCommandArgument2 * >( 0 ) ) + cppu::UnoType<ucb::OpenCommandArgument2>::get() ), ucb::CommandInfo( OUString( "transfer" ), -1, - getCppuType( - static_cast< ucb::TransferInfo * >( 0 ) ) + cppu::UnoType<ucb::TransferInfo>::get() ), ucb::CommandInfo( OUString( "createNewContent" ), @@ -442,14 +440,12 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "open" ), -1, - getCppuType( - static_cast< ucb::OpenCommandArgument2 * >( 0 ) ) + cppu::UnoType<ucb::OpenCommandArgument2>::get() ), ucb::CommandInfo( OUString( "transfer" ), -1, - getCppuType( - static_cast< ucb::TransferInfo * >( 0 ) ) + cppu::UnoType<ucb::TransferInfo>::get() ), ucb::CommandInfo( OUString( "createNewContent" ), @@ -521,8 +517,7 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "open" ), -1, - getCppuType( - static_cast< ucb::OpenCommandArgument2 * >( 0 ) ) + cppu::UnoType<ucb::OpenCommandArgument2>::get() ) // New commands |