summaryrefslogtreecommitdiff
path: root/sax/source/expatwrap
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-12 16:04:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-12 17:52:29 +0200
commitb36963c0a6a09f70ca6d8d607dd3249a3496497d (patch)
tree33e06dc8d227957cb31355277fb5cf20b9918628 /sax/source/expatwrap
parentb08247a12b43fcd9f86ecd912fce7d69a3e66061 (diff)
Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
Diffstat (limited to 'sax/source/expatwrap')
-rw-r--r--sax/source/expatwrap/attrlistimpl.hxx14
-rw-r--r--sax/source/expatwrap/sax_expat.cxx34
-rw-r--r--sax/source/expatwrap/saxwriter.cxx36
3 files changed, 42 insertions, 42 deletions
diff --git a/sax/source/expatwrap/attrlistimpl.hxx b/sax/source/expatwrap/attrlistimpl.hxx
index e3afa15cbf08..6a476385a81b 100644
--- a/sax/source/expatwrap/attrlistimpl.hxx
+++ b/sax/source/expatwrap/attrlistimpl.hxx
@@ -48,21 +48,21 @@ public:
public:
// XAttributeList
virtual sal_Int16 SAL_CALL getLength()
- throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(::com::sun::star::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getNameByIndex(sal_Int16 i)
- throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(::com::sun::star::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getTypeByIndex(sal_Int16 i)
- throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(::com::sun::star::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getTypeByName(const OUString& aName)
- throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(::com::sun::star::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getValueByIndex(sal_Int16 i)
- throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(::com::sun::star::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getValueByName(const OUString& aName)
- throw( ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception) override;
// XCloneable
virtual ::com::sun::star::uno::Reference< XCloneable > SAL_CALL
- createClone() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ createClone() throw(::com::sun::star::uno::RuntimeException, std::exception) override;
private:
struct AttributeList_impl *m_pImpl;
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx
index 51c997ffc91f..5ca04d8f8e71 100644
--- a/sax/source/expatwrap/sax_expat.cxx
+++ b/sax/source/expatwrap/sax_expat.cxx
@@ -109,29 +109,29 @@ public:
// ::com::sun::star::lang::XInitialization:
virtual void SAL_CALL initialize(css::uno::Sequence<css::uno::Any> const& rArguments)
- throw (css::uno::RuntimeException, css::uno::Exception, std::exception) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, css::uno::Exception, std::exception) override;
// The SAX-Parser-Interface
virtual void SAL_CALL parseStream( const InputSource& structSource)
throw ( SAXException,
IOException,
- css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setDocumentHandler(const css::uno::Reference< XDocumentHandler > & xHandler)
- throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setErrorHandler(const css::uno::Reference< XErrorHandler > & xHandler)
- throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setDTDHandler(const css::uno::Reference < XDTDHandler > & xHandler)
- throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setEntityResolver(const css::uno::Reference< XEntityResolver >& xResolver)
- throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setLocale( const Locale &locale ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setLocale( const Locale &locale ) throw (css::uno::RuntimeException, std::exception) override;
public: // XServiceInfo
- OUString SAL_CALL getImplementationName() throw (std::exception) SAL_OVERRIDE;
- css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (std::exception) SAL_OVERRIDE;
- sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception) SAL_OVERRIDE;
+ OUString SAL_CALL getImplementationName() throw (std::exception) override;
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (std::exception) override;
+ sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception) override;
private:
@@ -327,33 +327,33 @@ public:
}
public: //XLocator
- virtual sal_Int32 SAL_CALL getColumnNumber() throw (std::exception) SAL_OVERRIDE
+ virtual sal_Int32 SAL_CALL getColumnNumber() throw (std::exception) override
{
return XML_GetCurrentColumnNumber( m_pParser->getEntity().pParser );
}
- virtual sal_Int32 SAL_CALL getLineNumber() throw (std::exception) SAL_OVERRIDE
+ virtual sal_Int32 SAL_CALL getLineNumber() throw (std::exception) override
{
return XML_GetCurrentLineNumber( m_pParser->getEntity().pParser );
}
- virtual OUString SAL_CALL getPublicId() throw (std::exception) SAL_OVERRIDE
+ virtual OUString SAL_CALL getPublicId() throw (std::exception) override
{
return m_pParser->getEntity().structSource.sPublicId;
}
- virtual OUString SAL_CALL getSystemId() throw (std::exception) SAL_OVERRIDE
+ virtual OUString SAL_CALL getSystemId() throw (std::exception) override
{
return m_pParser->getEntity().structSource.sSystemId;
}
// XSeekable (only for getPosition)
- virtual void SAL_CALL seek( sal_Int64 ) throw(std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL seek( sal_Int64 ) throw(std::exception) override
{
}
- virtual sal_Int64 SAL_CALL getPosition() throw(std::exception) SAL_OVERRIDE
+ virtual sal_Int64 SAL_CALL getPosition() throw(std::exception) override
{
return XML_GetCurrentByteIndex( m_pParser->getEntity().pParser );
}
- virtual ::sal_Int64 SAL_CALL getLength() throw(std::exception) SAL_OVERRIDE
+ virtual ::sal_Int64 SAL_CALL getLength() throw(std::exception) override
{
return 0;
}
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 42151196990d..9c5b94f53301 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -890,7 +890,7 @@ public:
public: // XActiveDataSource
virtual void SAL_CALL setOutputStream(const Reference< XOutputStream > & aStream)
- throw (RuntimeException, std::exception) SAL_OVERRIDE
+ throw (RuntimeException, std::exception) override
{
try
{
@@ -916,50 +916,50 @@ public: // XActiveDataSource
}
}
virtual Reference< XOutputStream > SAL_CALL getOutputStream()
- throw(RuntimeException, std::exception) SAL_OVERRIDE
+ throw(RuntimeException, std::exception) override
{
return m_out;
}
public: // XDocumentHandler
virtual void SAL_CALL startDocument()
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL endDocument()
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL startElement(const OUString& aName,
const Reference< XAttributeList > & xAttribs)
- throw (SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL endElement(const OUString& aName)
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL characters(const OUString& aChars)
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL ignorableWhitespace(const OUString& aWhitespaces)
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL processingInstruction(const OUString& aTarget,
const OUString& aData)
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL setDocumentLocator(const Reference< XLocator > & xLocator)
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
public: // XExtendedDocumentHandler
- virtual void SAL_CALL startCDATA() throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL endCDATA() throw(SAXException,RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL startCDATA() throw(SAXException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL endCDATA() throw(SAXException,RuntimeException, std::exception) override;
virtual void SAL_CALL comment(const OUString& sComment)
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL unknown(const OUString& sString)
- throw(SAXException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException, RuntimeException, std::exception) override;
virtual void SAL_CALL allowLineBreak()
- throw(SAXException,RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(SAXException,RuntimeException, std::exception) override;
public: // XServiceInfo
- OUString SAL_CALL getImplementationName() throw(std::exception) SAL_OVERRIDE;
- Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE;
- sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(std::exception) SAL_OVERRIDE;
+ OUString SAL_CALL getImplementationName() throw(std::exception) override;
+ Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(std::exception) override;
+ sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(std::exception) override;
private:
sal_Int32 getIndentPrefixLength( sal_Int32 nFirstLineBreakOccurrence ) throw();