diff options
Diffstat (limited to 'ucb/source/ucp/webdav/webdavcontentcaps.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/webdavcontentcaps.cxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontentcaps.cxx b/ucb/source/ucp/webdav/webdavcontentcaps.cxx index ce926ffce3db..a68231e082fb 100644 --- a/ucb/source/ucp/webdav/webdavcontentcaps.cxx +++ b/ucb/source/ucp/webdav/webdavcontentcaps.cxx @@ -65,7 +65,7 @@ bool ContentProvider::getProperty( beans::Property( OUString( "ContentType" ), -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -89,7 +89,7 @@ bool ContentProvider::getProperty( beans::Property( OUString( "Title" ), -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND ) ); // Optional UCB properties. @@ -98,7 +98,7 @@ bool ContentProvider::getProperty( beans::Property( OUString( "DateCreated" ), -1, - getCppuType( static_cast< const util::DateTime * >( 0 ) ), + cppu::UnoType<util::DateTime>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -106,7 +106,7 @@ bool ContentProvider::getProperty( beans::Property( OUString( "DateModified" ), -1, - getCppuType( static_cast< const util::DateTime * >( 0 ) ), + cppu::UnoType<util::DateTime>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -114,7 +114,7 @@ bool ContentProvider::getProperty( beans::Property( OUString( "MediaType" ), -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -122,7 +122,7 @@ bool ContentProvider::getProperty( beans::Property( OUString( "Size" ), -1, - getCppuType( static_cast< const sal_Int64 * >( 0 ) ), + cppu::UnoType<sal_Int64>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -130,7 +130,7 @@ bool ContentProvider::getProperty( beans::Property( OUString( "BaseURI" ), -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -150,7 +150,7 @@ bool ContentProvider::getProperty( beans::Property( DAVProperties::CREATIONDATE, -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -158,14 +158,14 @@ bool ContentProvider::getProperty( beans::Property( DAVProperties::DISPLAYNAME, -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND ) ); m_pProps->insert( beans::Property( DAVProperties::GETCONTENTLANGUAGE, -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -173,7 +173,7 @@ bool ContentProvider::getProperty( beans::Property( DAVProperties::GETCONTENTLENGTH, -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -181,7 +181,7 @@ bool ContentProvider::getProperty( beans::Property( DAVProperties::GETCONTENTTYPE , -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -189,7 +189,7 @@ bool ContentProvider::getProperty( beans::Property( DAVProperties::GETETAG, -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -197,7 +197,7 @@ bool ContentProvider::getProperty( beans::Property( DAVProperties::GETLASTMODIFIED, -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -214,7 +214,7 @@ bool ContentProvider::getProperty( beans::Property( DAVProperties::RESOURCETYPE, -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY ) ); @@ -232,7 +232,7 @@ bool ContentProvider::getProperty( beans::Property( DAVProperties::EXECUTABLE, -1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND ) ); } } @@ -257,7 +257,7 @@ bool ContentProvider::getProperty( rProp = beans::Property( rPropName, - 1, - getCppuType( static_cast< const OUString * >( 0 ) ), + cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND ); } @@ -597,14 +597,14 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( ucb::CommandInfo( OUString( "transfer" ), -1, - getCppuType( static_cast< ucb::TransferInfo * >( 0 ) ) ); + cppu::UnoType<ucb::TransferInfo>::get() ); nPos++; aCmdInfo[ nPos ] = ucb::CommandInfo( OUString( "createNewContent" ), -1, - getCppuType( static_cast< ucb::ContentInfo * >( 0 ) ) ); + cppu::UnoType<ucb::ContentInfo>::get() ); nPos++; } else |