diff options
Diffstat (limited to 'ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx b/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx index c86938e533af..7f2a381c160b 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx @@ -78,7 +78,7 @@ bool ContentProvider::getProperty( // Mandatory UCB properties. m_pProps->insert( beans::Property( - OUString( "ContentType" ), + "ContentType", -1, cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND @@ -86,7 +86,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( "IsDocument" ), + "IsDocument", -1, cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND @@ -94,7 +94,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( "IsFolder" ), + "IsFolder", -1, cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND @@ -102,7 +102,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( "Title" ), + "Title", -1, cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND ) ); @@ -111,7 +111,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( "DateCreated" ), + "DateCreated", -1, cppu::UnoType<util::DateTime>::get(), beans::PropertyAttribute::BOUND @@ -119,7 +119,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( "DateModified" ), + "DateModified", -1, cppu::UnoType<util::DateTime>::get(), beans::PropertyAttribute::BOUND @@ -127,7 +127,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( "MediaType" ), + "MediaType", -1, cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND @@ -135,7 +135,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( "Size" ), + "Size", -1, cppu::UnoType<sal_Int64>::get(), beans::PropertyAttribute::BOUND @@ -143,7 +143,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( "BaseURI" ), + "BaseURI", -1, cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND @@ -151,8 +151,7 @@ bool ContentProvider::getProperty( m_pProps->insert( beans::Property( - OUString( - "CreatableContentsInfo" ), + "CreatableContentsInfo", -1, cppu::UnoType< uno::Sequence< ucb::ContentInfo >>::get(), @@ -544,22 +543,22 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( aCmdInfo[ 0 ] = ucb::CommandInfo( - OUString( "getCommandInfo" ), + "getCommandInfo", -1, cppu::UnoType<void>::get() ); aCmdInfo[ 1 ] = ucb::CommandInfo( - OUString( "getPropertySetInfo" ), + "getPropertySetInfo", -1, cppu::UnoType<void>::get() ); aCmdInfo[ 2 ] = ucb::CommandInfo( - OUString( "getPropertyValues" ), + "getPropertyValues", -1, cppu::UnoType<uno::Sequence< beans::Property >>::get() ); aCmdInfo[ 3 ] = ucb::CommandInfo( - OUString( "setPropertyValues" ), + "setPropertyValues", -1, cppu::UnoType<uno::Sequence< beans::PropertyValue >>::get() ); @@ -569,17 +568,17 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( aCmdInfo[ 4 ] = ucb::CommandInfo( - OUString( "delete" ), + "delete", -1, cppu::UnoType<bool>::get() ); aCmdInfo[ 5 ] = ucb::CommandInfo( - OUString( "insert" ), + "insert", -1, cppu::UnoType<ucb::InsertCommandArgument>::get() ); aCmdInfo[ 6 ] = ucb::CommandInfo( - OUString( "open" ), + "open", -1, cppu::UnoType<ucb::OpenCommandArgument2>::get() ); @@ -589,17 +588,17 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( aCmdInfo[ 7 ] = ucb::CommandInfo( - OUString( "post" ), + "post", -1, cppu::UnoType<ucb::PostCommandArgument2>::get() ); aCmdInfo[ 8 ] = ucb::CommandInfo( - OUString( "addProperty" ), + "addProperty", -1, cppu::UnoType<ucb::PropertyCommandArgument>::get() ); aCmdInfo[ 9 ] = ucb::CommandInfo( - OUString( "removeProperty" ), + "removeProperty", -1, cppu::UnoType<rtl::OUString>::get() ); @@ -632,14 +631,13 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( aCmdInfo[ nPos ] = ucb::CommandInfo( - OUString( "transfer" ), + "transfer", -1, cppu::UnoType<ucb::TransferInfo>::get() ); nPos++; aCmdInfo[ nPos ] = ucb::CommandInfo( - OUString( - "createNewContent" ), + "createNewContent", -1, cppu::UnoType<ucb::ContentInfo>::get() ); nPos++; @@ -653,13 +651,13 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( { aCmdInfo[ nPos ] = ucb::CommandInfo( - OUString( "lock" ), + "lock", -1, cppu::UnoType<void>::get() ); nPos++; aCmdInfo[ nPos ] = ucb::CommandInfo( - OUString( "unlock" ), + "unlock", -1, cppu::UnoType<void>::get() ); nPos++; |