diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_contentcaps.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_contentcaps.cxx | 93 |
1 files changed, 37 insertions, 56 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx b/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx index e4ae2068d94c..6c5fca976628 100644 --- a/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx +++ b/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx @@ -120,14 +120,14 @@ uno::Sequence< beans::Property > Content::getProperties( beans::Property( OUString( "IsDocument" ), -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), beans::Property( OUString( "IsFolder" ), -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), @@ -144,8 +144,7 @@ uno::Sequence< beans::Property > Content::getProperties( OUString( "CreatableContentsInfo" ), -1, - getCppuType( static_cast< - const uno::Sequence< ucb::ContentInfo > * >( 0 ) ), + cppu::UnoType<uno::Sequence< ucb::ContentInfo >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) @@ -178,14 +177,14 @@ uno::Sequence< beans::Property > Content::getProperties( beans::Property( OUString( "IsDocument" ), -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), beans::Property( OUString( "IsFolder" ), -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), @@ -202,8 +201,7 @@ uno::Sequence< beans::Property > Content::getProperties( OUString( "CreatableContentsInfo" ), -1, - getCppuType( static_cast< - const uno::Sequence< ucb::ContentInfo > * >( 0 ) ), + cppu::UnoType<uno::Sequence< ucb::ContentInfo >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), @@ -243,14 +241,14 @@ uno::Sequence< beans::Property > Content::getProperties( beans::Property( OUString( "IsDocument" ), -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), beans::Property( OUString( "IsFolder" ), -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), @@ -268,8 +266,7 @@ uno::Sequence< beans::Property > Content::getProperties( OUString( "CreatableContentsInfo" ), -1, - getCppuType( static_cast< - const uno::Sequence< ucb::ContentInfo > * >( 0 ) ), + cppu::UnoType<uno::Sequence< ucb::ContentInfo >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), @@ -311,14 +308,14 @@ uno::Sequence< beans::Property > Content::getProperties( beans::Property( OUString( "IsDocument" ), -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), beans::Property( OUString( "IsFolder" ), -1, - getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ), @@ -336,8 +333,7 @@ uno::Sequence< beans::Property > Content::getProperties( OUString( "CreatableContentsInfo" ), -1, - getCppuType( static_cast< - const uno::Sequence< ucb::ContentInfo > * >( 0 ) ), + cppu::UnoType<uno::Sequence< ucb::ContentInfo >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) @@ -378,25 +374,22 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "getCommandInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertySetInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertyValues" ), -1, - getCppuType( - static_cast< uno::Sequence< beans::Property > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::Property >>::get() ), ucb::CommandInfo( OUString( "setPropertyValues" ), -1, - getCppuType( - static_cast< - uno::Sequence< beans::PropertyValue > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ), // Optional standard commands @@ -404,7 +397,7 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "delete" ), -1, - getCppuBooleanType() + cppu::UnoType<bool>::get() ), ucb::CommandInfo( OUString( "open" ), @@ -432,25 +425,22 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "getCommandInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertySetInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertyValues" ), -1, - getCppuType( - static_cast< uno::Sequence< beans::Property > * >( 0 ) ) + cppu::UnoType< uno::Sequence< beans::Property >>::get() ), ucb::CommandInfo( OUString( "setPropertyValues" ), -1, - getCppuType( - static_cast< - uno::Sequence< beans::PropertyValue > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ), // Optional standard commands @@ -458,12 +448,12 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "delete" ), -1, - getCppuBooleanType() + cppu::UnoType<bool>::get() ), ucb::CommandInfo( OUString( "insert" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "open" ), @@ -492,25 +482,22 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "getCommandInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertySetInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertyValues" ), -1, - getCppuType( - static_cast< uno::Sequence< beans::Property > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::Property >>::get() ), ucb::CommandInfo( OUString( "setPropertyValues" ), -1, - getCppuType( - static_cast< - uno::Sequence< beans::PropertyValue > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ), // Optional standard commands @@ -518,12 +505,12 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "delete" ), -1, - getCppuBooleanType() + cppu::UnoType<bool>::get() ), ucb::CommandInfo( OUString( "insert" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "open" ), @@ -562,25 +549,22 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "getCommandInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertySetInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertyValues" ), -1, - getCppuType( - static_cast< uno::Sequence< beans::Property > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::Property >>::get() ), ucb::CommandInfo( OUString( "setPropertyValues" ), -1, - getCppuType( - static_cast< - uno::Sequence< beans::PropertyValue > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ), // Optional standard commands @@ -624,25 +608,22 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "getCommandInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertySetInfo" ), -1, - getCppuVoidType() + cppu::UnoType<cppu::UnoVoidType>::get() ), ucb::CommandInfo( OUString( "getPropertyValues" ), -1, - getCppuType( - static_cast< uno::Sequence< beans::Property > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::Property >>::get() ), ucb::CommandInfo( OUString( "setPropertyValues" ), -1, - getCppuType( - static_cast< - uno::Sequence< beans::PropertyValue > * >( 0 ) ) + cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ), // Optional standard commands |