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 /stoc/source/uriproc | |
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 'stoc/source/uriproc')
5 files changed, 80 insertions, 80 deletions
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx index 0b6300fe394f..976a38635a03 100644 --- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx +++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx @@ -51,21 +51,21 @@ public: m_context(context) {} 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(OUString const & 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); + getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL translateToInternal(OUString const & externalUriReference) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL translateToExternal(OUString const & internalUriReference) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: Translator(Translator &); // not implemented diff --git a/stoc/source/uriproc/UriReferenceFactory.cxx b/stoc/source/uriproc/UriReferenceFactory.cxx index 0971fb8a7a46..2e3b35b7a62b 100644 --- a/stoc/source/uriproc/UriReferenceFactory.cxx +++ b/stoc/source/uriproc/UriReferenceFactory.cxx @@ -105,71 +105,71 @@ public: {} virtual OUString SAL_CALL getUriReference() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getUriReference(); } virtual sal_Bool SAL_CALL isAbsolute() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.isAbsolute(); } virtual OUString SAL_CALL getScheme() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getScheme(); } virtual OUString SAL_CALL getSchemeSpecificPart() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getSchemeSpecificPart(); } virtual sal_Bool SAL_CALL isHierarchical() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.isHierarchical(); } virtual sal_Bool SAL_CALL hasAuthority() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.hasAuthority(); } virtual OUString SAL_CALL getAuthority() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getAuthority(); } virtual OUString SAL_CALL getPath() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getPath(); } virtual sal_Bool SAL_CALL hasRelativePath() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.hasRelativePath(); } virtual sal_Int32 SAL_CALL getPathSegmentCount() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getPathSegmentCount(); } virtual OUString SAL_CALL getPathSegment(sal_Int32 index) - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getPathSegment(index); } virtual sal_Bool SAL_CALL hasQuery() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.hasQuery(); } virtual OUString SAL_CALL getQuery() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getQuery(); } virtual sal_Bool SAL_CALL hasFragment() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.hasFragment(); } virtual OUString SAL_CALL getFragment() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getFragment(); } virtual void SAL_CALL setFragment(OUString const & fragment) - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_base.setFragment(fragment); } virtual void SAL_CALL clearFragment() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_base.clearFragment(); } private: @@ -266,17 +266,17 @@ public: m_context(context) {} 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(OUString const & 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); + getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::uri::XUriReference > SAL_CALL parse(OUString const & uriReference) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::uri::XUriReference > SAL_CALL makeAbsolute( @@ -284,7 +284,7 @@ public: css::uno::Reference< css::uri::XUriReference > const & uriReference, sal_Bool processSpecialBaseSegments, css::uri::RelativeUriExcessParentSegments excessParentSegments) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::uri::XUriReference > SAL_CALL makeRelative( @@ -293,7 +293,7 @@ public: sal_Bool preferAuthorityOverRelativePath, sal_Bool preferAbsoluteOverRelativePath, sal_Bool encodeRetainedSpecialSegments) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: Factory(Factory &); // not implemented diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx index e6e3a9780fbd..fb37a0410373 100644 --- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx +++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx @@ -66,72 +66,72 @@ public: {} virtual OUString SAL_CALL getUriReference() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getUriReference(); } - virtual ::sal_Bool SAL_CALL isAbsolute() throw (css::uno::RuntimeException, std::exception) + virtual ::sal_Bool SAL_CALL isAbsolute() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.isAbsolute(); } virtual OUString SAL_CALL getScheme() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getScheme(); } virtual OUString SAL_CALL getSchemeSpecificPart() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getSchemeSpecificPart(); } virtual ::sal_Bool SAL_CALL isHierarchical() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.isHierarchical(); } virtual ::sal_Bool SAL_CALL hasAuthority() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.hasAuthority(); } virtual OUString SAL_CALL getAuthority() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getAuthority(); } virtual OUString SAL_CALL getPath() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getPath(); } virtual ::sal_Bool SAL_CALL hasRelativePath() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.hasRelativePath(); } virtual ::sal_Int32 SAL_CALL getPathSegmentCount() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getPathSegmentCount(); } virtual OUString SAL_CALL getPathSegment(sal_Int32 index) - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getPathSegment(index); } - virtual ::sal_Bool SAL_CALL hasQuery() throw (css::uno::RuntimeException, std::exception) + virtual ::sal_Bool SAL_CALL hasQuery() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.hasQuery(); } virtual OUString SAL_CALL getQuery() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getQuery(); } - virtual ::sal_Bool SAL_CALL hasFragment() throw (css::uno::RuntimeException, std::exception) + virtual ::sal_Bool SAL_CALL hasFragment() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.hasFragment(); } virtual OUString SAL_CALL getFragment() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return base_.getFragment(); } virtual void SAL_CALL setFragment(OUString const & fragment) - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { base_.setFragment(fragment); } - virtual void SAL_CALL clearFragment() throw (css::uno::RuntimeException, std::exception) + virtual void SAL_CALL clearFragment() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { base_.clearFragment(); } virtual OUString SAL_CALL expand( css::uno::Reference< css::util::XMacroExpander > const & expander) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception); + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: UrlReference(UrlReference &); // not defined @@ -159,20 +159,20 @@ public: Parser() {} 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( OUString const & 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); + getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::uri::XUriReference > SAL_CALL parse( OUString const & scheme, OUString const & schemeSpecificPart) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: Parser(Parser &); // not defined diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx index 9faace973ed9..1bade014b80d 100644 --- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx +++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx @@ -199,86 +199,86 @@ public: {} virtual OUString SAL_CALL getUriReference() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getUriReference(); } virtual sal_Bool SAL_CALL isAbsolute() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.isAbsolute(); } virtual OUString SAL_CALL getScheme() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getScheme(); } virtual OUString SAL_CALL getSchemeSpecificPart() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getSchemeSpecificPart(); } virtual sal_Bool SAL_CALL isHierarchical() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.isHierarchical(); } virtual sal_Bool SAL_CALL hasAuthority() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.hasAuthority(); } virtual OUString SAL_CALL getAuthority() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getAuthority(); } virtual OUString SAL_CALL getPath() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getPath(); } virtual sal_Bool SAL_CALL hasRelativePath() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.hasRelativePath(); } virtual sal_Int32 SAL_CALL getPathSegmentCount() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getPathSegmentCount(); } virtual OUString SAL_CALL getPathSegment(sal_Int32 index) - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getPathSegment(index); } virtual sal_Bool SAL_CALL hasQuery() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.hasQuery(); } virtual OUString SAL_CALL getQuery() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getQuery(); } virtual sal_Bool SAL_CALL hasFragment() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.hasFragment(); } virtual OUString SAL_CALL getFragment() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_base.getFragment(); } virtual void SAL_CALL setFragment(OUString const & fragment) - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_base.setFragment(fragment); } virtual void SAL_CALL clearFragment() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { m_base.clearFragment(); } - virtual OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setName(OUString const & name) - throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception); + throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasParameter(OUString const & key) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getParameter(OUString const & key) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setParameter(OUString const & key, OUString const & value) - throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception); + throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception) SAL_OVERRIDE; private: UrlReference(UrlReference &); // not implemented @@ -383,18 +383,18 @@ public: Parser() {} 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(OUString const & 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); + getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::uri::XUriReference > SAL_CALL parse( OUString const & scheme, OUString const & schemeSpecificPart) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: Parser(Parser &); // not implemented diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx index 4d2ff0acadf8..f83ccbf5d1ff 100644 --- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx +++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx @@ -53,18 +53,18 @@ public: m_context(context) {} 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(OUString const & 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); + getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::uri::XUriReference > SAL_CALL createVndSunStarPkgUrlReference( css::uno::Reference< css::uri::XUriReference > const & authority) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: Factory(Factory &); // not implemented |