diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /ucb/source/ucp/ftp | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff) |
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'ucb/source/ucp/ftp')
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.hxx | 36 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontentidentifier.hxx | 14 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontentprovider.hxx | 24 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpdynresultset.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpintreq.hxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpresultsetbase.cxx | 12 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpresultsetbase.hxx | 112 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpstrcont.hxx | 4 |
9 files changed, 109 insertions, 109 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index 7bc48ebdbbc9..f1d72c72daf3 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -252,7 +252,7 @@ public: { } - virtual ResultSetBase* createResultSet() + virtual ResultSetBase* createResultSet() SAL_OVERRIDE { return new ResultSetI(m_xContext, m_xProvider, @@ -725,7 +725,7 @@ public: virtual ~InsertData() {} // returns the number of bytes actually read - virtual sal_Int32 read(sal_Int8 *dest,sal_Int32 nBytesRequested); + virtual sal_Int32 read(sal_Int8 *dest,sal_Int32 nBytesRequested) SAL_OVERRIDE; private: diff --git a/ucb/source/ucp/ftp/ftpcontent.hxx b/ucb/source/ucp/ftp/ftpcontent.hxx index 84d76e24fba2..88ce630ff8ef 100644 --- a/ucb/source/ucp/ftp/ftpcontent.hxx +++ b/ucb/source/ucp/ftp/ftpcontent.hxx @@ -64,27 +64,27 @@ public: // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) - throw( css::uno::RuntimeException, std::exception ); + throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL acquire() - throw(); + throw() SAL_OVERRIDE; virtual void SAL_CALL release() - throw(); + throw() SAL_OVERRIDE; // XTypeProvider virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw( css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw( css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; // XServiceInfo virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ); + throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ); + throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ); + throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; static OUString getImplementationName_Static(); static css::uno::Sequence< OUString > getSupportedServiceNames_Static(); @@ -95,7 +95,7 @@ public: // XContent virtual OUString SAL_CALL getContentType() - throw( css::uno::RuntimeException, std::exception ); + throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XCommandProcessor virtual css::uno::Any SAL_CALL execute( const css::ucb::Command& aCommand, @@ -104,30 +104,30 @@ public: css::ucb::XCommandEnvironment >& Environment ) throw( css::uno::Exception, css::ucb::CommandAbortedException, - css::uno::RuntimeException, std::exception ); + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL abort(sal_Int32 CommandId) - throw( css::uno::RuntimeException, std::exception); + throw( css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XContentCreator virtual css::uno::Sequence< css::ucb::ContentInfo > SAL_CALL queryCreatableContentsInfo( ) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::ucb::XContent > SAL_CALL createNewContent( const css::ucb::ContentInfo& Info ) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XChild virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent( ) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setParent( const css::uno::Reference< css::uno::XInterface >& Parent ) throw (css::lang::NoSupportException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; static css::uno::Sequence< css::ucb::ContentInfo > queryCreatableContentsInfo_Static() throw (css::uno::RuntimeException); @@ -142,15 +142,15 @@ private: virtual css::uno::Sequence< css::beans::Property > getProperties( const css::uno::Reference< - css::ucb::XCommandEnvironment > & xEnv ); + css::ucb::XCommandEnvironment > & xEnv ) SAL_OVERRIDE; virtual css::uno::Sequence< css::ucb::CommandInfo> getCommands(const css::uno::Reference< - css::ucb::XCommandEnvironment > & xEnv); + css::ucb::XCommandEnvironment > & xEnv) SAL_OVERRIDE; - virtual OUString getParentURL(); + virtual OUString getParentURL() SAL_OVERRIDE; css::uno::Reference<css::sdbc::XRow> getPropertyValues( diff --git a/ucb/source/ucp/ftp/ftpcontentidentifier.hxx b/ucb/source/ucp/ftp/ftpcontentidentifier.hxx index 96122eac72e5..be02bac3e702 100644 --- a/ucb/source/ucp/ftp/ftpcontentidentifier.hxx +++ b/ucb/source/ucp/ftp/ftpcontentidentifier.hxx @@ -54,11 +54,11 @@ namespace ftp { virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type& rType ) - throw( com::sun::star::uno::RuntimeException, std::exception ); + throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual void SAL_CALL acquire( void ) throw(); + virtual void SAL_CALL acquire( void ) throw() SAL_OVERRIDE; - virtual void SAL_CALL release( void ) throw(); + virtual void SAL_CALL release( void ) throw() SAL_OVERRIDE; // XTypeProvider @@ -68,14 +68,14 @@ namespace ftp { ) throw( com::sun::star::uno::RuntimeException, std::exception - ); + ) SAL_OVERRIDE; virtual com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw( com::sun::star::uno::RuntimeException, std::exception - ); + ) SAL_OVERRIDE; // XContentIdentifier @@ -85,14 +85,14 @@ namespace ftp { ) throw ( com::sun::star::uno::RuntimeException, std::exception - ); + ) SAL_OVERRIDE; virtual OUString SAL_CALL getContentProviderScheme( ) throw ( ::com::sun::star::uno::RuntimeException, std::exception - ); + ) SAL_OVERRIDE; private: diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.hxx b/ucb/source/ucp/ftp/ftpcontentprovider.hxx index f75e3a7799ff..0636406f9e24 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.hxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.hxx @@ -54,30 +54,30 @@ namespace ftp // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw( css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; virtual void SAL_CALL acquire() - throw(); + throw() SAL_OVERRIDE; virtual void SAL_CALL release() - throw(); + throw() SAL_OVERRIDE; // XTypeProvider virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw( css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw( css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; static OUString getImplementationName_Static(); static css::uno::Sequence< OUString > getSupportedServiceNames_Static(); @@ -91,23 +91,23 @@ namespace ftp queryContent( const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier ) throw( css::ucb::IllegalIdentifierException, css::uno::RuntimeException, - std::exception ); + std::exception ) SAL_OVERRIDE; // FTPHandleProvider. - virtual CURL* handle(); + virtual CURL* handle() SAL_OVERRIDE; virtual bool forHost(const OUString& host, const OUString& port, const OUString& username, OUString& password, - OUString& account); + OUString& account) SAL_OVERRIDE; virtual bool setHost(const OUString& host, const OUString& port, const OUString& username, const OUString& password, - const OUString& account); + const OUString& account) SAL_OVERRIDE; struct ServerInfo { diff --git a/ucb/source/ucp/ftp/ftpdynresultset.hxx b/ucb/source/ucp/ftp/ftpdynresultset.hxx index 988c0ef22b59..89c696130da9 100644 --- a/ucb/source/ucp/ftp/ftpdynresultset.hxx +++ b/ucb/source/ucp/ftp/ftpdynresultset.hxx @@ -37,8 +37,8 @@ namespace ftp { ResultSetFactory* m_pFactory; private: - virtual void initStatic(); - virtual void initDynamic(); + virtual void initStatic() SAL_OVERRIDE; + virtual void initDynamic() SAL_OVERRIDE; public: DynamicResultSet( diff --git a/ucb/source/ucp/ftp/ftpintreq.hxx b/ucb/source/ucp/ftp/ftpintreq.hxx index 0173d601e7df..c0fafd4d3bec 100644 --- a/ucb/source/ucp/ftp/ftpintreq.hxx +++ b/ucb/source/ucp/ftp/ftpintreq.hxx @@ -42,7 +42,7 @@ namespace ftp { virtual void SAL_CALL select() throw (css::uno::RuntimeException, - std::exception); + std::exception) SAL_OVERRIDE; bool isSelected() const; @@ -62,7 +62,7 @@ namespace ftp { XInteractionDisapproveImpl(); virtual void SAL_CALL select() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: @@ -80,12 +80,12 @@ namespace ftp { com::sun::star::uno::Any SAL_CALL getRequest( ) throw (css::uno::RuntimeException, - std::exception); + std::exception) SAL_OVERRIDE; css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations( ) throw (css::uno::RuntimeException, - std::exception); + std::exception) SAL_OVERRIDE; bool approved() const; diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.cxx b/ucb/source/ucp/ftp/ftpresultsetbase.cxx index b63b1596496e..4b92dbbd2004 100644 --- a/ucb/source/ucp/ftp/ftpresultsetbase.cxx +++ b/ucb/source/ucp/ftp/ftpresultsetbase.cxx @@ -443,20 +443,20 @@ public: } void SAL_CALL acquire( void ) - throw() + throw() SAL_OVERRIDE { OWeakObject::acquire(); } void SAL_CALL release( void ) - throw() + throw() SAL_OVERRIDE { OWeakObject::release(); } uno::Any SAL_CALL queryInterface( const uno::Type& rType ) - throw( uno::RuntimeException, std::exception ) + throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE { uno::Any aRet = cppu::queryInterface( rType, @@ -465,14 +465,14 @@ public: } uno::Sequence< beans::Property > SAL_CALL getProperties() - throw( uno::RuntimeException, std::exception ) + throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE { return m_aSeq; } beans::Property SAL_CALL getPropertyByName( const OUString& aName ) throw( beans::UnknownPropertyException, - uno::RuntimeException, std::exception) + uno::RuntimeException, std::exception) SAL_OVERRIDE { for( int i = 0; i < m_aSeq.getLength(); ++i ) if( aName == m_aSeq[i].Name ) @@ -481,7 +481,7 @@ public: } sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) - throw( uno::RuntimeException, std::exception ) + throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE { for( int i = 0; i < m_aSeq.getLength(); ++i ) if( Name == m_aSeq[i].Name ) diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.hxx b/ucb/source/ucp/ftp/ftpresultsetbase.hxx index 13acb45b5204..292d2defa446 100644 --- a/ucb/source/ucp/ftp/ftpresultsetbase.hxx +++ b/ucb/source/ucp/ftp/ftpresultsetbase.hxx @@ -66,34 +66,34 @@ namespace ftp { virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type& aType ) - throw( com::sun::star::uno::RuntimeException, std::exception); + throw( com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL acquire( void ) - throw(); + throw() SAL_OVERRIDE; virtual void SAL_CALL release( void ) - throw(); + throw() SAL_OVERRIDE; // XComponent virtual void SAL_CALL dispose( void ) - throw( com::sun::star::uno::RuntimeException, std::exception ); + throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL addEventListener( const com::sun::star::uno::Reference< com::sun::star::lang::XEventListener >& xListener ) - throw( com::sun::star::uno::RuntimeException, std::exception ); + throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL removeEventListener( const com::sun::star::uno::Reference< com::sun::star::lang::XEventListener >& aListener ) - throw( com::sun::star::uno::RuntimeException, std::exception ); + throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XRow @@ -101,7 +101,7 @@ namespace ftp { wasNull( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception ) + com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { if( 0<= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) m_nWasNull = m_aItems[m_nRow]->wasNull(); @@ -114,7 +114,7 @@ namespace ftp { getString( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { OUString ret; if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) @@ -127,7 +127,7 @@ namespace ftp { getBoolean( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getBoolean( columnIndex ); @@ -139,7 +139,7 @@ namespace ftp { getByte( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getByte( columnIndex ); @@ -152,7 +152,7 @@ namespace ftp { sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getShort( columnIndex ); @@ -164,7 +164,7 @@ namespace ftp { getInt( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception ) + com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getInt( columnIndex ); @@ -176,7 +176,7 @@ namespace ftp { getLong( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getLong( columnIndex ); @@ -188,7 +188,7 @@ namespace ftp { getFloat( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception ) + com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getFloat( columnIndex ); @@ -200,7 +200,7 @@ namespace ftp { getDouble( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception ) + com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getDouble( columnIndex ); @@ -212,7 +212,7 @@ namespace ftp { getBytes( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception ) + com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getBytes( columnIndex ); @@ -224,7 +224,7 @@ namespace ftp { getDate( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getDate( columnIndex ); @@ -236,7 +236,7 @@ namespace ftp { getTime( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getTime( columnIndex ); @@ -248,7 +248,7 @@ namespace ftp { getTimestamp( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getTimestamp( columnIndex ); @@ -262,7 +262,7 @@ namespace ftp { getBinaryStream( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getBinaryStream( columnIndex ); @@ -276,7 +276,7 @@ namespace ftp { getCharacterStream( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getCharacterStream( columnIndex ); @@ -291,7 +291,7 @@ namespace ftp { const com::sun::star::uno::Reference< com::sun::star::container::XNameAccess >& typeMap ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getObject( columnIndex,typeMap ); @@ -304,7 +304,7 @@ namespace ftp { getRef( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getRef( columnIndex ); @@ -317,7 +317,7 @@ namespace ftp { getBlob( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getBlob( columnIndex ); @@ -330,7 +330,7 @@ namespace ftp { getClob( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getClob( columnIndex ); @@ -344,7 +344,7 @@ namespace ftp { getArray( sal_Int32 columnIndex ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception) + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) return m_aItems[m_nRow]->getArray( columnIndex ); @@ -360,103 +360,103 @@ namespace ftp { next( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL isBeforeFirst( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL isAfterLast( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL isFirst( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL isLast( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL beforeFirst( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL afterLast( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL first( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL last( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL getRow( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL absolute( sal_Int32 row ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL relative( sal_Int32 rows ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL previous( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL refreshRow( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL rowUpdated( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL rowInserted( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL rowDeleted( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< @@ -464,7 +464,7 @@ namespace ftp { getStatement( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XCloseable @@ -472,26 +472,26 @@ namespace ftp { close( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XContentAccess virtual OUString SAL_CALL queryContentIdentifierString( void ) - throw( com::sun::star::uno::RuntimeException, std::exception ); + throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier > SAL_CALL queryContentIdentifier( void ) - throw( com::sun::star::uno::RuntimeException, std::exception ); + throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContent > SAL_CALL queryContent( void ) - throw( com::sun::star::uno::RuntimeException, std::exception ); + throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XResultSetMetaDataSupplier virtual com::sun::star::uno::Reference< @@ -499,14 +499,14 @@ namespace ftp { getMetaData( void ) throw( com::sun::star::sdbc::SQLException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XPropertySet virtual com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() - throw( com::sun::star::uno::RuntimeException, std::exception); + throw( com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, @@ -515,14 +515,14 @@ namespace ftp { com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addPropertyChangeListener( @@ -531,7 +531,7 @@ namespace ftp { com::sun::star::beans::XPropertyChangeListener >& xListener ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removePropertyChangeListener( @@ -540,7 +540,7 @@ namespace ftp { com::sun::star::beans::XPropertyChangeListener >& aListener ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addVetoableChangeListener( @@ -549,7 +549,7 @@ namespace ftp { com::sun::star::beans::XVetoableChangeListener >& aListener ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, @@ -557,7 +557,7 @@ namespace ftp { com::sun::star::beans::XVetoableChangeListener >& aListener ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: diff --git a/ucb/source/ucp/ftp/ftpstrcont.hxx b/ucb/source/ucp/ftp/ftpstrcont.hxx index f7017c4d8d83..2c6666088887 100644 --- a/ucb/source/ucp/ftp/ftpstrcont.hxx +++ b/ucb/source/ucp/ftp/ftpstrcont.hxx @@ -46,7 +46,7 @@ namespace ftp { virtual ~FTPOutputStreamContainer() {} - virtual size_t write(void *buffer,size_t size,size_t nmemb); + virtual size_t write(void *buffer,size_t size,size_t nmemb) SAL_OVERRIDE; private: @@ -65,7 +65,7 @@ namespace ftp { virtual ~FTPInputStreamContainer() {} - virtual size_t write(void *buffer,size_t size,size_t nmemb); + virtual size_t write(void *buffer,size_t size,size_t nmemb) SAL_OVERRIDE; com::sun::star::uno::Reference< com::sun::star::io::XInputStream> operator()(); |