diff options
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_provider.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/std_inputstream.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/std_outputstream.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 20 | ||||
-rw-r--r-- | ucb/source/ucp/file/filcmd.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filid.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filinpstr.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/file/filstr.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filtask.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/prov.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.cxx | 12 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontentidentifier.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontentprovider.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpresultsetbase.cxx | 14 | ||||
-rw-r--r-- | ucb/source/ucp/gio/gio_provider.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchydatasource.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyprovider.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/package/pkgprovider.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_provider.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavprovider.cxx | 6 |
20 files changed, 64 insertions, 64 deletions
diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx index 9ac2e7e1fc08..e043d167e028 100644 --- a/ucb/source/ucp/cmis/cmis_provider.cxx +++ b/ucb/source/ucp/cmis/cmis_provider.cxx @@ -104,9 +104,9 @@ void SAL_CALL ContentProvider::release() css::uno::Any SAL_CALL ContentProvider::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< css::ucb::XContentProvider* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< css::ucb::XContentProvider* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/cmis/std_inputstream.cxx b/ucb/source/ucp/cmis/std_inputstream.cxx index c5ea2eceac05..5c851f1795f8 100644 --- a/ucb/source/ucp/cmis/std_inputstream.cxx +++ b/ucb/source/ucp/cmis/std_inputstream.cxx @@ -42,8 +42,8 @@ namespace cmis uno::Any SAL_CALL StdInputStream::queryInterface( const uno::Type& rType ) { uno::Any aRet = ::cppu::queryInterface( rType, - ( static_cast< XInputStream* >( this ) ), - ( static_cast< XSeekable* >( this ) ) ); + static_cast< XInputStream* >( this ), + static_cast< XSeekable* >( this ) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/cmis/std_outputstream.cxx b/ucb/source/ucp/cmis/std_outputstream.cxx index 0398e6241ae6..8c87b6c405d8 100644 --- a/ucb/source/ucp/cmis/std_outputstream.cxx +++ b/ucb/source/ucp/cmis/std_outputstream.cxx @@ -32,7 +32,7 @@ namespace cmis uno::Any SAL_CALL StdOutputStream::queryInterface( const uno::Type& rType ) { - uno::Any aRet = ::cppu::queryInterface( rType, ( static_cast< XOutputStream* >( this ) ) ); + uno::Any aRet = ::cppu::queryInterface( rType, static_cast< XOutputStream* >( this ) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index 557ddc5d4b60..03be0c341b3d 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -159,16 +159,16 @@ Any SAL_CALL BaseContent::queryInterface( const Type& rType ) { Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XComponent* >(this)), - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< XCommandProcessor* >(this)), - (static_cast< container::XChild* >(this)), - (static_cast< beans::XPropertiesChangeNotifier* >(this)), - (static_cast< beans::XPropertyContainer* >(this)), - (static_cast< XContentCreator* >(this)), - (static_cast< beans::XPropertySetInfoChangeNotifier* >(this)), - (static_cast< XContent* >(this)) ); + static_cast< lang::XComponent* >(this), + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< XCommandProcessor* >(this), + static_cast< container::XChild* >(this), + static_cast< beans::XPropertiesChangeNotifier* >(this), + static_cast< beans::XPropertyContainer* >(this), + static_cast< XContentCreator* >(this), + static_cast< beans::XPropertySetInfoChangeNotifier* >(this), + static_cast< XContent* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/file/filcmd.cxx b/ucb/source/ucp/file/filcmd.cxx index b84f19a8708c..a3bdf595d95f 100644 --- a/ucb/source/ucp/file/filcmd.cxx +++ b/ucb/source/ucp/file/filcmd.cxx @@ -65,7 +65,7 @@ uno::Any SAL_CALL XCommandInfo_impl::queryInterface( const uno::Type& rType ) { uno::Any aRet = cppu::queryInterface( rType, - (static_cast< XCommandInfo* >(this)) ); + static_cast< XCommandInfo* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/file/filid.cxx b/ucb/source/ucp/file/filid.cxx index 830cf9b1ab4b..80a9974930f7 100644 --- a/ucb/source/ucp/file/filid.cxx +++ b/ucb/source/ucp/file/filid.cxx @@ -67,8 +67,8 @@ uno::Any SAL_CALL FileContentIdentifier::queryInterface( const uno::Type& rType ) { uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< XContentIdentifier* >(this)) ); + static_cast< lang::XTypeProvider* >(this), + static_cast< XContentIdentifier* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx index af0f03d52de4..39448e16f6c9 100644 --- a/ucb/source/ucp/file/filinpstr.cxx +++ b/ucb/source/ucp/file/filinpstr.cxx @@ -89,9 +89,9 @@ uno::Any SAL_CALL XInputStream_impl::queryInterface( const uno::Type& rType ) { uno::Any aRet = cppu::queryInterface( rType, - (static_cast< io::XInputStream* >(this)), - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< io::XSeekable* >(this)) ); + static_cast< io::XInputStream* >(this), + static_cast< lang::XTypeProvider* >(this), + static_cast< io::XSeekable* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx index 75b1011de2c0..ce92a7dd8ae9 100644 --- a/ucb/source/ucp/file/filstr.cxx +++ b/ucb/source/ucp/file/filstr.cxx @@ -182,7 +182,7 @@ XStream_impl::writeBytes( const uno::Sequence< sal_Int8 >& aData ) { sal_uInt64 nWrittenBytes(0); const sal_Int8* p = aData.getConstArray(); - if(osl::FileBase::E_None != m_aFile.write((static_cast<void const *>(p)),sal_uInt64(length),nWrittenBytes) || + if(osl::FileBase::E_None != m_aFile.write(static_cast<void const *>(p),sal_uInt64(length),nWrittenBytes) || nWrittenBytes != length ) throw io::IOException( THROW_WHERE ); } diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx index 23985897f11d..403e8fc0bd5d 100644 --- a/ucb/source/ucp/file/filtask.cxx +++ b/ucb/source/ucp/file/filtask.cxx @@ -1935,7 +1935,7 @@ TaskManager::write( sal_Int32 CommandId, { const sal_Int8* p = seq.getConstArray(); - err = aFile.write( (static_cast<void const *>(p)), + err = aFile.write( static_cast<void const *>(p), sal_uInt64( nReadBytes ), nWrittenBytes ); diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index 82c2f7b9cf7f..f2f888ed8d31 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -318,7 +318,7 @@ Any SAL_CALL XPropertySetInfoImpl2::queryInterface( const Type& rType ) { Any aRet = cppu::queryInterface( rType, - (static_cast< XPropertySetInfo* >(this)) ); + static_cast< XPropertySetInfo* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index edc0f3d517b1..d53310a5928c 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -134,12 +134,12 @@ void SAL_CALL FTPContent::release() css::uno::Any SAL_CALL FTPContent::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< XTypeProvider* >(this)), - (static_cast< XServiceInfo* >(this)), - (static_cast< XContent* >(this)), - (static_cast< XCommandProcessor* >(this)), - (static_cast< XContentCreator* >(this)), - (static_cast< XChild* >(this)) + static_cast< XTypeProvider* >(this), + static_cast< XServiceInfo* >(this), + static_cast< XContent* >(this), + static_cast< XCommandProcessor* >(this), + static_cast< XContentCreator* >(this), + static_cast< XChild* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/ftp/ftpcontentidentifier.cxx b/ucb/source/ucp/ftp/ftpcontentidentifier.cxx index f60f800759e9..85f6386c8bd0 100644 --- a/ucb/source/ucp/ftp/ftpcontentidentifier.cxx +++ b/ucb/source/ucp/ftp/ftpcontentidentifier.cxx @@ -52,8 +52,8 @@ FTPContentIdentifier::queryInterface( { Any aRet = ::cppu::queryInterface(rType, - (static_cast< XTypeProvider* >(this)), - (static_cast< XContentIdentifier* >(this))); + static_cast< XTypeProvider* >(this), + static_cast< XContentIdentifier* >(this)); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx index 4630e22653a5..9b5f1a8e308a 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx @@ -67,9 +67,9 @@ void SAL_CALL FTPContentProvider::release() css::uno::Any SAL_CALL FTPContentProvider::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< XTypeProvider* >(this)), - (static_cast< XServiceInfo* >(this)), - (static_cast< XContentProvider* >(this)) + static_cast< XTypeProvider* >(this), + static_cast< XServiceInfo* >(this), + static_cast< XContentProvider* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.cxx b/ucb/source/ucp/ftp/ftpresultsetbase.cxx index b95b18ad5df3..8e10e3d07e62 100644 --- a/ucb/source/ucp/ftp/ftpresultsetbase.cxx +++ b/ucb/source/ucp/ftp/ftpresultsetbase.cxx @@ -77,12 +77,12 @@ ResultSetBase::queryInterface( const uno::Type& rType ) { uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XComponent* >(this)), - (static_cast< sdbc::XRow* >(this)), - (static_cast< sdbc::XResultSet* >(this)), - (static_cast< sdbc::XResultSetMetaDataSupplier* >(this)), - (static_cast< beans::XPropertySet* >(this)), - (static_cast< ucb::XContentAccess* >(this)) ); + static_cast< lang::XComponent* >(this), + static_cast< sdbc::XRow* >(this), + static_cast< sdbc::XResultSet* >(this), + static_cast< sdbc::XResultSetMetaDataSupplier* >(this), + static_cast< beans::XPropertySet* >(this), + static_cast< ucb::XContentAccess* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } @@ -372,7 +372,7 @@ public: { uno::Any aRet = cppu::queryInterface( rType, - (static_cast< beans::XPropertySetInfo* >(this)) ); + static_cast< beans::XPropertySetInfo* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx index 17d9c65e2293..63183e254588 100644 --- a/ucb/source/ucp/gio/gio_provider.cxx +++ b/ucb/source/ucp/gio/gio_provider.cxx @@ -81,9 +81,9 @@ void SAL_CALL ContentProvider::release() css::uno::Any SAL_CALL ContentProvider::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< css::ucb::XContentProvider* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< css::ucb::XContentProvider* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx index 63f6a21bf9b0..091870e0a8a3 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx @@ -205,10 +205,10 @@ void SAL_CALL HierarchyDataSource::release() css::uno::Any SAL_CALL HierarchyDataSource::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< lang::XComponent* >(this)), - (static_cast< lang::XMultiServiceFactory* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< lang::XComponent* >(this), + static_cast< lang::XMultiServiceFactory* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx index ffe014d543a6..4945afb35c47 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx @@ -75,10 +75,10 @@ void SAL_CALL HierarchyContentProvider::release() css::uno::Any SAL_CALL HierarchyContentProvider::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< ucb::XContentProvider* >(this)), - (static_cast< lang::XInitialization* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< ucb::XContentProvider* >(this), + static_cast< lang::XInitialization* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/package/pkgprovider.cxx b/ucb/source/ucp/package/pkgprovider.cxx index c805603ee4e9..93b22fd1ffee 100644 --- a/ucb/source/ucp/package/pkgprovider.cxx +++ b/ucb/source/ucp/package/pkgprovider.cxx @@ -127,9 +127,9 @@ void SAL_CALL ContentProvider::release() css::uno::Any SAL_CALL ContentProvider::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< ucb::XContentProvider* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< ucb::XContentProvider* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx index dd44ccee7b70..dbcd58851012 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.cxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx @@ -82,10 +82,10 @@ void SAL_CALL ContentProvider::release() css::uno::Any SAL_CALL ContentProvider::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< ucb::XContentProvider* >(this)), - (static_cast< frame::XTransientDocumentsDocumentContentFactory* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< ucb::XContentProvider* >(this), + static_cast< frame::XTransientDocumentsDocumentContentFactory* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.cxx b/ucb/source/ucp/webdav-neon/webdavprovider.cxx index cfaa4b6ef579..b499bf085fdc 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.cxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.cxx @@ -75,9 +75,9 @@ void SAL_CALL ContentProvider::release() css::uno::Any SAL_CALL ContentProvider::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< ucb::XContentProvider* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< ucb::XContentProvider* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } |