diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-13 23:19:08 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-13 23:20:26 +0200 |
commit | 036a660a86c225992c7cab083073374c40b1f366 (patch) | |
tree | 6271d26cc317e682a471d6c4a787f47740af680b /ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx | |
parent | e1f0d790832098a7f8b323ab04809b6b55ade3d9 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part11
Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
Diffstat (limited to 'ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx')
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx index 67bdb2d1cc1d..564bafe3af70 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx @@ -535,8 +535,7 @@ uno::Sequence< ucb::CommandInfo > HierarchyContent::getCommands( ucb::CommandInfo( OUString( "open" ), -1, - getCppuType( - static_cast< ucb::OpenCommandArgument2 * >( 0 ) ) + cppu::UnoType<ucb::OpenCommandArgument2>::get() ) // New commands @@ -590,8 +589,7 @@ uno::Sequence< ucb::CommandInfo > HierarchyContent::getCommands( ucb::CommandInfo( OUString( "open" ), -1, - getCppuType( - static_cast< ucb::OpenCommandArgument2 * >( 0 ) ) + cppu::UnoType<ucb::OpenCommandArgument2>::get() ), ucb::CommandInfo( OUString( "transfer" ), @@ -654,8 +652,7 @@ uno::Sequence< ucb::CommandInfo > HierarchyContent::getCommands( ucb::CommandInfo( OUString( "open" ), -1, - getCppuType( - static_cast< ucb::OpenCommandArgument2 * >( 0 ) ) + cppu::UnoType<ucb::OpenCommandArgument2>::get() ) // New commands @@ -699,8 +696,7 @@ uno::Sequence< ucb::CommandInfo > HierarchyContent::getCommands( ucb::CommandInfo( OUString( "open" ), -1, - getCppuType( - static_cast< ucb::OpenCommandArgument2 * >( 0 ) ) + cppu::UnoType<ucb::OpenCommandArgument2>::get() ), ucb::CommandInfo( OUString( "transfer" ), |