diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-04-05 10:45:49 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-04-05 10:54:49 +0200 |
commit | 68686fb167dc36a8aabc224a950c10af89c592b5 (patch) | |
tree | 30676f854650ef4c73bb6ad61746c3ea2fff7cb8 /ucb | |
parent | 22ab56f5e35dff58e1923b693dc33ff252293557 (diff) |
loplugin:saloverride
Change-Id: I3eb7ab5534c225e78496f949685f665934a04c2e
Diffstat (limited to 'ucb')
20 files changed, 113 insertions, 113 deletions
diff --git a/ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx b/ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx index 1f7ff038f18a..c4fe1c3c4922 100644 --- a/ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx +++ b/ucb/source/ucp/webdav/DAVAuthListenerImpl.hxx @@ -56,7 +56,7 @@ namespace http_dav_ucp OUString & inoutUserName, OUString & outPassWord, sal_Bool bCanUseSystemCredentials, - sal_Bool bUsePreviousCredentials = sal_True ); + sal_Bool bUsePreviousCredentials = sal_True ) SAL_OVERRIDE; private: const com::sun::star::uno::Reference< diff --git a/ucb/source/ucp/webdav/DAVSessionFactory.hxx b/ucb/source/ucp/webdav/DAVSessionFactory.hxx index 9f9f5c50f132..427e728eb8fe 100644 --- a/ucb/source/ucp/webdav/DAVSessionFactory.hxx +++ b/ucb/source/ucp/webdav/DAVSessionFactory.hxx @@ -47,7 +47,7 @@ class DAVSession; class DAVSessionFactory : public salhelper::SimpleReferenceObject { public: - ~DAVSessionFactory() SAL_THROW(()); + virtual ~DAVSessionFactory() SAL_THROW(()); rtl::Reference< DAVSession > createDAVSession( const OUString & inUri, diff --git a/ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx index 49ecb42571b6..759ef4d9ea0c 100644 --- a/ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfCopyReqProcImpl.hxx @@ -36,14 +36,14 @@ public: virtual ~SerfCopyReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; private: const char* mDestPathStr; diff --git a/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx index 203a67796f9a..84b7ad1917e1 100644 --- a/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.hxx @@ -34,14 +34,14 @@ public: virtual ~SerfDeleteReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; }; diff --git a/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx index 868d0067d96b..ea9005c69b23 100644 --- a/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx @@ -58,17 +58,17 @@ public: virtual ~SerfGetReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; void processSingleResponseHeader( const char* inHeaderName, const char* inHeaderValue ); protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; private: com::sun::star::uno::Reference< SerfInputStream > xInputStream; diff --git a/ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx index 4902da15f3e4..72b6d841bd57 100644 --- a/ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfHeadReqProcImpl.hxx @@ -43,17 +43,17 @@ public: virtual ~SerfHeadReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; void processSingleResponseHeader( const char* inHeaderName, const char* inHeaderValue ); protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; private: const std::vector< OUString > * mpHeaderNames; diff --git a/ucb/source/ucp/webdav/SerfInputStream.hxx b/ucb/source/ucp/webdav/SerfInputStream.hxx index 03e2a373e9a9..3c5637d9898d 100644 --- a/ucb/source/ucp/webdav/SerfInputStream.hxx +++ b/ucb/source/ucp/webdav/SerfInputStream.hxx @@ -55,14 +55,14 @@ class SerfInputStream : public ::com::sun::star::io::XInputStream, // XInterface virtual com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & type ) - throw( ::com::sun::star::uno::RuntimeException ); + throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL acquire( void ) - throw () + throw () SAL_OVERRIDE { OWeakObject::acquire(); } virtual void SAL_CALL release( void ) - throw() + throw() SAL_OVERRIDE { OWeakObject::release(); } @@ -73,7 +73,7 @@ class SerfInputStream : public ::com::sun::star::io::XInputStream, throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL readSomeBytes( ::com::sun::star::uno::Sequence< sal_Int8 > & aData, @@ -81,37 +81,37 @@ class SerfInputStream : public ::com::sun::star::io::XInputStream, throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip ) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL available( void ) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL closeInput( void ) throw( ::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // XSeekable virtual void SAL_CALL seek( sal_Int64 location ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual sal_Int64 SAL_CALL getPosition() throw( ::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual sal_Int64 SAL_CALL getLength() throw( ::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; }; } // namespace http_dav_ucp diff --git a/ucb/source/ucp/webdav/SerfLockStore.cxx b/ucb/source/ucp/webdav/SerfLockStore.cxx index 2053598317e4..cd95a2980bda 100644 --- a/ucb/source/ucp/webdav/SerfLockStore.cxx +++ b/ucb/source/ucp/webdav/SerfLockStore.cxx @@ -41,7 +41,7 @@ public: protected: - virtual void SAL_CALL run(); + virtual void SAL_CALL run() SAL_OVERRIDE; }; } // namespace http_dav_ucp diff --git a/ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx index 3f7c75e3e1d7..c791f59b9020 100644 --- a/ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfMkColReqProcImpl.hxx @@ -34,14 +34,14 @@ public: virtual ~SerfMkColReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; }; } // namespace http_dav_ucp diff --git a/ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx index e7156db5bf84..c396280e3dcd 100644 --- a/ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfMoveReqProcImpl.hxx @@ -36,14 +36,14 @@ public: virtual ~SerfMoveReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; private: const char* mDestPathStr; diff --git a/ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx index 9ad9beb2aea6..831990178d22 100644 --- a/ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfPostReqProcImpl.hxx @@ -50,14 +50,14 @@ public: virtual ~SerfPostReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; private: const char* mpPostData; diff --git a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx index 7f7bd9d9b237..2239b9af68dc 100644 --- a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.hxx @@ -49,14 +49,14 @@ public: virtual ~SerfPropFindReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; private: void init( const Depth inDepth ); diff --git a/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx index 1b9693c57a82..3cf8875d65ea 100644 --- a/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.hxx @@ -38,14 +38,14 @@ public: virtual ~SerfPropPatchReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; private: const std::vector< ProppatchValue > * mpProperties; diff --git a/ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx index 4bb8adb85ee6..7e941b1a05c8 100644 --- a/ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx +++ b/ucb/source/ucp/webdav/SerfPutReqProcImpl.hxx @@ -38,14 +38,14 @@ public: virtual ~SerfPutReqProcImpl(); virtual - serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ); + serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest ) SAL_OVERRIDE; protected: virtual - void processChunkOfResponseData( const char* data, apr_size_t len ); + void processChunkOfResponseData( const char* data, apr_size_t len ) SAL_OVERRIDE; virtual - void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ); + void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) SAL_OVERRIDE; private: const char* mpData; diff --git a/ucb/source/ucp/webdav/SerfSession.hxx b/ucb/source/ucp/webdav/SerfSession.hxx index 92cecf79e321..0cdd781adb90 100644 --- a/ucb/source/ucp/webdav/SerfSession.hxx +++ b/ucb/source/ucp/webdav/SerfSession.hxx @@ -108,9 +108,9 @@ public: serf_connection_t* getSerfConnection(); // DAVSession methods - virtual sal_Bool CanUse( const OUString & inUri ); + virtual sal_Bool CanUse( const OUString & inUri ) SAL_OVERRIDE; - virtual sal_Bool UsesProxy(); + virtual sal_Bool UsesProxy() SAL_OVERRIDE; const DAVRequestEnvironment & getRequestEnvironment() const { return m_aEnv; } @@ -122,7 +122,7 @@ public: const std::vector< OUString > & inPropNames, std::vector< DAVResource > & ioResources, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; // propnames virtual void @@ -130,41 +130,41 @@ public: const Depth inDepth, std::vector< DAVResourceInfo >& ioResInfo, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void PROPPATCH( const OUString & inPath, const std::vector< ProppatchValue > & inValues, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void HEAD( const OUString & inPath, const std::vector< OUString > & inHeaderNames, DAVResource & ioResource, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; bool isHeadRequestInProgress(); virtual com::sun::star::uno::Reference< com::sun::star::io::XInputStream > GET( const OUString & inPath, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void GET( const OUString & inPath, com::sun::star::uno::Reference< com::sun::star::io::XOutputStream > & ioOutputStream, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::io::XInputStream > GET( const OUString & inPath, const std::vector< OUString > & inHeaderNames, DAVResource & ioResource, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void GET( const OUString & inPath, @@ -173,14 +173,14 @@ public: const std::vector< OUString > & inHeaderNames, DAVResource & ioResource, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void PUT( const OUString & inPath, const com::sun::star::uno::Reference< com::sun::star::io::XInputStream > & inInputStream, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::io::XInputStream > POST( const OUString & inPath, @@ -189,7 +189,7 @@ public: const com::sun::star::uno::Reference< com::sun::star::io::XInputStream > & inInputStream, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void POST( const OUString & inPath, @@ -200,50 +200,50 @@ public: com::sun::star::uno::Reference< com::sun::star::io::XOutputStream > & oOutputStream, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void MKCOL( const OUString & inPath, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void COPY( const OUString & inSourceURL, const OUString & inDestinationURL, const DAVRequestEnvironment & rEnv, sal_Bool inOverWrite ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void MOVE( const OUString & inSourceURL, const OUString & inDestinationURL, const DAVRequestEnvironment & rEnv, sal_Bool inOverWrite ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void DESTROY( const OUString & inPath, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; // set new lock. virtual void LOCK( const OUString & inURL, com::sun::star::ucb::Lock & inLock, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; // refresh existing lock. virtual sal_Int64 LOCK( const OUString & inURL, sal_Int64 nTimeout, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; virtual void UNLOCK( const OUString & inURL, const DAVRequestEnvironment & rEnv ) - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; // helpers virtual void abort() - throw ( DAVException ); + throw ( DAVException ) SAL_OVERRIDE; const OUString & getHostName() const { return m_aUri.GetHost(); } int getPort() const { return m_aUri.GetPort(); } diff --git a/ucb/source/ucp/webdav/webdavcontent.hxx b/ucb/source/ucp/webdav/webdavcontent.hxx index 5230b9411907..b40d50a67ee0 100644 --- a/ucb/source/ucp/webdav/webdavcontent.hxx +++ b/ucb/source/ucp/webdav/webdavcontent.hxx @@ -89,11 +89,11 @@ class Content : public ::ucbhelper::ContentImplHelper, private: virtual com::sun::star::uno::Sequence< com::sun::star::beans::Property > getProperties( const com::sun::star::uno::Reference< - com::sun::star::ucb::XCommandEnvironment > & xEnv ); + com::sun::star::ucb::XCommandEnvironment > & xEnv ) SAL_OVERRIDE; virtual com::sun::star::uno::Sequence< com::sun::star::ucb::CommandInfo > getCommands( const com::sun::star::uno::Reference< - com::sun::star::ucb::XCommandEnvironment > & xEnv ); - virtual OUString getParentURL(); + com::sun::star::ucb::XCommandEnvironment > & xEnv ) SAL_OVERRIDE; + virtual OUString getParentURL() SAL_OVERRIDE; bool isFolder( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >& xEnv ) @@ -226,31 +226,31 @@ 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 ); + throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() - throw( css::uno::RuntimeException, std::exception ); + throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XServiceInfo virtual OUString SAL_CALL getImplementationName() - throw( ::com::sun::star::uno::RuntimeException ); + throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( ::com::sun::star::uno::RuntimeException ); + throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // XContent virtual OUString SAL_CALL getContentType() - throw( com::sun::star::uno::RuntimeException ); + throw( com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // XCommandProcessor virtual com::sun::star::uno::Any SAL_CALL @@ -260,10 +260,10 @@ public: com::sun::star::ucb::XCommandEnvironment >& Environment ) throw( com::sun::star::uno::Exception, com::sun::star::ucb::CommandAbortedException, - com::sun::star::uno::RuntimeException ); + com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL abort( sal_Int32 CommandId ) - throw( com::sun::star::uno::RuntimeException ); + throw( com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // XPropertyContainer virtual void SAL_CALL @@ -273,13 +273,13 @@ public: throw( com::sun::star::beans::PropertyExistException, com::sun::star::beans::IllegalTypeException, com::sun::star::lang::IllegalArgumentException, - com::sun::star::uno::RuntimeException ); + com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL removeProperty( const OUString& Name ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::NotRemoveableException, - com::sun::star::uno::RuntimeException ); + com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // Additional interfaces @@ -289,11 +289,11 @@ public: virtual com::sun::star::uno::Sequence< com::sun::star::ucb::ContentInfo > SAL_CALL queryCreatableContentsInfo() - throw( com::sun::star::uno::RuntimeException ); + throw( com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContent > SAL_CALL createNewContent( const com::sun::star::ucb::ContentInfo& Info ) - throw( com::sun::star::uno::RuntimeException ); + throw( com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // Non-interface methods. diff --git a/ucb/source/ucp/webdav/webdavdatasupplier.hxx b/ucb/source/ucp/webdav/webdavdatasupplier.hxx index bc1c83768760..46ea6d4d442d 100644 --- a/ucb/source/ucp/webdav/webdavdatasupplier.hxx +++ b/ucb/source/ucp/webdav/webdavdatasupplier.hxx @@ -48,27 +48,27 @@ public: virtual ~DataSupplier(); - virtual OUString queryContentIdentifierString( sal_uInt32 nIndex ); + virtual OUString queryContentIdentifierString( sal_uInt32 nIndex ) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier > - queryContentIdentifier( sal_uInt32 nIndex ); + queryContentIdentifier( sal_uInt32 nIndex ) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContent > - queryContent( sal_uInt32 nIndex ); + queryContent( sal_uInt32 nIndex ) SAL_OVERRIDE; - virtual bool getResult( sal_uInt32 nIndex ); + virtual bool getResult( sal_uInt32 nIndex ) SAL_OVERRIDE; - virtual sal_uInt32 totalCount(); - virtual sal_uInt32 currentCount(); - virtual bool isCountFinal(); + virtual sal_uInt32 totalCount() SAL_OVERRIDE; + virtual sal_uInt32 currentCount() SAL_OVERRIDE; + virtual bool isCountFinal() SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XRow > - queryPropertyValues( sal_uInt32 nIndex ); - virtual void releasePropertyValues( sal_uInt32 nIndex ); + queryPropertyValues( sal_uInt32 nIndex ) SAL_OVERRIDE; + virtual void releasePropertyValues( sal_uInt32 nIndex ) SAL_OVERRIDE; - virtual void close(); + virtual void close() SAL_OVERRIDE; virtual void validate() - throw( com::sun::star::ucb::ResultSetException ); + throw( com::sun::star::ucb::ResultSetException ) SAL_OVERRIDE; }; } diff --git a/ucb/source/ucp/webdav/webdavprovider.hxx b/ucb/source/ucp/webdav/webdavprovider.hxx index 9d5c8196ab15..d77c6dbf1fa4 100644 --- a/ucb/source/ucp/webdav/webdavprovider.hxx +++ b/ucb/source/ucp/webdav/webdavprovider.hxx @@ -78,25 +78,25 @@ 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 ); + throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() - throw( css::uno::RuntimeException, std::exception ); + throw( css::uno::RuntimeException, 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(); @@ -111,7 +111,7 @@ public: queryContent( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier >& Identifier ) throw( ::com::sun::star::ucb::IllegalIdentifierException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // Additional interfaces diff --git a/ucb/source/ucp/webdav/webdavresponseparser.cxx b/ucb/source/ucp/webdav/webdavresponseparser.cxx index 8b7c928596fc..2e2d214d5552 100644 --- a/ucb/source/ucp/webdav/webdavresponseparser.cxx +++ b/ucb/source/ucp/webdav/webdavresponseparser.cxx @@ -356,17 +356,17 @@ namespace public: WebDAVResponseParser(WebDAVResponseParserMode eWebDAVResponseParserMode); - ~WebDAVResponseParser(); + virtual ~WebDAVResponseParser(); // Methods XDocumentHandler - virtual void SAL_CALL startDocument( ) throw (xml::sax::SAXException, uno::RuntimeException); - virtual void SAL_CALL endDocument( ) throw (xml::sax::SAXException, uno::RuntimeException); - virtual void SAL_CALL startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs ) throw (xml::sax::SAXException, uno::RuntimeException); - virtual void SAL_CALL endElement( const OUString& aName ) throw (xml::sax::SAXException, uno::RuntimeException); - virtual void SAL_CALL characters( const OUString& aChars ) throw (xml::sax::SAXException, uno::RuntimeException); - virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) throw (xml::sax::SAXException, uno::RuntimeException); - virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) throw (xml::sax::SAXException, uno::RuntimeException); - virtual void SAL_CALL setDocumentLocator( const uno::Reference< xml::sax::XLocator >& xLocator ) throw (xml::sax::SAXException, uno::RuntimeException); + virtual void SAL_CALL startDocument( ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE; + virtual void SAL_CALL endDocument( ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE; + virtual void SAL_CALL startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE; + virtual void SAL_CALL endElement( const OUString& aName ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE; + virtual void SAL_CALL characters( const OUString& aChars ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE; + virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE; + virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE; + virtual void SAL_CALL setDocumentLocator( const uno::Reference< xml::sax::XLocator >& xLocator ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE; const std::vector< ucb::Lock >& getResult_Lock() const { return maResult_Lock; } const std::vector< http_dav_ucp::DAVResource >& getResult_PropFind() const { return maResult_PropFind; } diff --git a/ucb/source/ucp/webdav/webdavresultset.hxx b/ucb/source/ucp/webdav/webdavresultset.hxx index 87043caade8c..1c9fe0250b02 100644 --- a/ucb/source/ucp/webdav/webdavresultset.hxx +++ b/ucb/source/ucp/webdav/webdavresultset.hxx @@ -36,8 +36,8 @@ class DynamicResultSet : public ::ucbhelper::ResultSetImplHelper com::sun::star::ucb::XCommandEnvironment > m_xEnv; private: - virtual void initStatic(); - virtual void initDynamic(); + virtual void initStatic() SAL_OVERRIDE; + virtual void initDynamic() SAL_OVERRIDE; public: DynamicResultSet( const com::sun::star::uno::Reference< |