diff options
Diffstat (limited to 'ucb/source/ucp/webdav/webdavcontentcaps.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/webdavcontentcaps.cxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontentcaps.cxx b/ucb/source/ucp/webdav/webdavcontentcaps.cxx index a68231e082fb..f5feb22cd9ec 100644 --- a/ucb/source/ucp/webdav/webdavcontentcaps.cxx +++ b/ucb/source/ucp/webdav/webdavcontentcaps.cxx @@ -535,14 +535,12 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "insert" ), -1, - getCppuType( static_cast< - ucb::InsertCommandArgument * >( 0 ) ) ); + cppu::UnoType<ucb::InsertCommandArgument>::get() ); aCmdInfo[ 6 ] = ucb::CommandInfo( OUString( "open" ), -1, - getCppuType( static_cast< - ucb::OpenCommandArgument2 * >( 0 ) ) ); + cppu::UnoType<ucb::OpenCommandArgument2>::get() ); // New commands @@ -552,20 +550,17 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "post" ), -1, - getCppuType( static_cast< - ucb::PostCommandArgument2 * >( 0 ) ) ); + cppu::UnoType<ucb::PostCommandArgument2>::get() ); aCmdInfo[ 8 ] = ucb::CommandInfo( OUString( "addProperty" ), -1, - getCppuType( static_cast< - ucb::PropertyCommandArgument * >( 0 ) ) ); + cppu::UnoType<ucb::PropertyCommandArgument>::get() ); aCmdInfo[ 9 ] = ucb::CommandInfo( OUString( "removeProperty" ), -1, - getCppuType( static_cast< - rtl::OUString * >( 0 ) ) ); + cppu::UnoType<rtl::OUString>::get() ); sal_Bool bFolder = sal_False; |