summaryrefslogtreecommitdiff
path: root/filter/source/xsltfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /filter/source/xsltfilter
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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 'filter/source/xsltfilter')
-rw-r--r--filter/source/xsltfilter/LibXSLTTransformer.hxx20
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx18
2 files changed, 19 insertions, 19 deletions
diff --git a/filter/source/xsltfilter/LibXSLTTransformer.hxx b/filter/source/xsltfilter/LibXSLTTransformer.hxx
index b15f705ca1f8..1233ad603afa 100644
--- a/filter/source/xsltfilter/LibXSLTTransformer.hxx
+++ b/filter/source/xsltfilter/LibXSLTTransformer.hxx
@@ -109,28 +109,28 @@ namespace XSLT
// XActiveDataSink
virtual void SAL_CALL
setInputStream(const com::sun::star::uno::Reference<XInputStream>& inputStream)
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual com::sun::star::uno::Reference<XInputStream> SAL_CALL
- getInputStream() throw (RuntimeException, std::exception);
+ getInputStream() throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XActiveDataSource
virtual void SAL_CALL
setOutputStream(const com::sun::star::uno::Reference<XOutputStream>& outputStream)
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual com::sun::star::uno::Reference<XOutputStream> SAL_CALL
- getOutputStream() throw (RuntimeException, std::exception);
+ getOutputStream() throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XActiveDataControl
virtual void SAL_CALL
addListener(const com::sun::star::uno::Reference<XStreamListener>& listener)
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
removeListener(const com::sun::star::uno::Reference<XStreamListener>& listener)
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- start() throw (RuntimeException, std::exception);
+ start() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- terminate() throw (RuntimeException, std::exception);
+ terminate() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- initialize(const Sequence<Any>& params) throw (RuntimeException, std::exception);
+ initialize(const Sequence<Any>& params) throw (RuntimeException, std::exception) SAL_OVERRIDE;
void SAL_CALL
done();
@@ -180,7 +180,7 @@ namespace XSLT
Sequence<sal_Int8> m_writeBuf;
virtual void
- execute();
+ execute() SAL_OVERRIDE;
void SAL_CALL
registerExtensionModule();
};
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index 176d1bde5a1d..8ffc69063619 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -135,32 +135,32 @@ namespace XSLT
// XStreamListener
virtual void SAL_CALL
- error(const Any& a) throw (RuntimeException, std::exception);
+ error(const Any& a) throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- closed() throw (RuntimeException, std::exception);
+ closed() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- terminated() throw (RuntimeException, std::exception);
+ terminated() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- started() throw (RuntimeException, std::exception);
+ started() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- disposing(const EventObject& e) throw (RuntimeException, std::exception);
+ disposing(const EventObject& e) throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XImportFilter
virtual sal_Bool SAL_CALL
importer(const Sequence<PropertyValue>& aSourceData, const css::uno::Reference<
XDocumentHandler>& xHandler,
- const Sequence<OUString>& msUserData) throw (RuntimeException, std::exception);
+ const Sequence<OUString>& msUserData) throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XExportFilter
virtual sal_Bool SAL_CALL
exporter(const Sequence<PropertyValue>& aSourceData, const Sequence<
- OUString>& msUserData) throw (RuntimeException, std::exception);
+ OUString>& msUserData) throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XDocumentHandler
virtual void SAL_CALL
- startDocument() throw (SAXException, RuntimeException, std::exception);
+ startDocument() throw (SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- endDocument() throw (SAXException, RuntimeException, std::exception);
+ endDocument() throw (SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
};
XSLTFilter::XSLTFilter(const css::uno::Reference<XComponentContext> &r):