summaryrefslogtreecommitdiff
path: root/extensions/source/update
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 /extensions/source/update
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 'extensions/source/update')
-rw-r--r--extensions/source/update/check/updatecheck.cxx26
-rw-r--r--extensions/source/update/check/updatecheck.hxx32
-rw-r--r--extensions/source/update/check/updatecheckconfig.hxx24
-rw-r--r--extensions/source/update/check/updatecheckjob.cxx16
-rw-r--r--extensions/source/update/check/updatehdl.hxx24
-rw-r--r--extensions/source/update/feed/updatefeed.cxx32
-rw-r--r--extensions/source/update/ui/updatecheckui.cxx30
7 files changed, 92 insertions, 92 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 4b9038f18e73..d16e92b54ff2 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -237,15 +237,15 @@ public:
UpdateCheckThread( osl::Condition& rCondition,
const uno::Reference<uno::XComponentContext>& xContext );
- virtual void SAL_CALL join();
- virtual void SAL_CALL terminate();
- virtual void cancel();
+ virtual void SAL_CALL join() SAL_OVERRIDE;
+ virtual void SAL_CALL terminate() SAL_OVERRIDE;
+ virtual void cancel() SAL_OVERRIDE;
protected:
virtual ~UpdateCheckThread();
- virtual void SAL_CALL run();
- virtual void SAL_CALL onTerminated();
+ virtual void SAL_CALL run() SAL_OVERRIDE;
+ virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
/* Wrapper around checkForUpdates */
bool runCheck( bool & rbExtensionsChecked );
@@ -296,7 +296,7 @@ public:
ManualUpdateCheckThread( osl::Condition& rCondition, const uno::Reference<uno::XComponentContext>& xContext ) :
UpdateCheckThread(rCondition, xContext) {};
- virtual void SAL_CALL run();
+ virtual void SAL_CALL run() SAL_OVERRIDE;
};
@@ -307,7 +307,7 @@ public:
// XJob
virtual uno::Any SAL_CALL execute(const uno::Sequence<beans::NamedValue>&)
- throw (lang::IllegalArgumentException, uno::Exception, std::exception);
+ throw (lang::IllegalArgumentException, uno::Exception, std::exception) SAL_OVERRIDE;
private:
rtl::Reference< UpdateCheck > m_aUpdateCheck;
@@ -322,10 +322,10 @@ public:
const rtl::Reference< DownloadInteractionHandler >& rHandler,
const OUString& rURL );
- virtual void SAL_CALL run();
- virtual void cancel();
- virtual void SAL_CALL suspend();
- virtual void SAL_CALL onTerminated();
+ virtual void SAL_CALL run() SAL_OVERRIDE;
+ virtual void cancel() SAL_OVERRIDE;
+ virtual void SAL_CALL suspend() SAL_OVERRIDE;
+ virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
protected:
~DownloadThread();
@@ -343,8 +343,8 @@ class ShutdownThread : public osl::Thread
public:
ShutdownThread( const uno::Reference<uno::XComponentContext>& xContext );
- virtual void SAL_CALL run();
- virtual void SAL_CALL onTerminated();
+ virtual void SAL_CALL run() SAL_OVERRIDE;
+ virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
protected:
~ShutdownThread();
diff --git a/extensions/source/update/check/updatecheck.hxx b/extensions/source/update/check/updatecheck.hxx
index 9df196065aa5..f4cd2cde36f7 100644
--- a/extensions/source/update/check/updatecheck.hxx
+++ b/extensions/source/update/check/updatecheck.hxx
@@ -91,13 +91,13 @@ public:
bool hasOfficeUpdate() const { return (m_aUpdateInfo.BuildId.getLength() > 0); }
// DownloadInteractionHandler
- virtual bool downloadTargetExists(const OUString& rFileName);
- virtual void downloadStalled(const OUString& rErrorMessage);
- virtual void downloadProgressAt(sal_Int8 nProcent);
- virtual void downloadStarted(const OUString& rLocalFileName, sal_Int64 nFileSize);
- virtual void downloadFinished(const OUString& rLocalFileName);
+ virtual bool downloadTargetExists(const OUString& rFileName) SAL_OVERRIDE;
+ virtual void downloadStalled(const OUString& rErrorMessage) SAL_OVERRIDE;
+ virtual void downloadProgressAt(sal_Int8 nProcent) SAL_OVERRIDE;
+ virtual void downloadStarted(const OUString& rLocalFileName, sal_Int64 nFileSize) SAL_OVERRIDE;
+ virtual void downloadFinished(const OUString& rLocalFileName) SAL_OVERRIDE;
// checks if the download target already exists and asks user what to do next
- virtual bool checkDownloadDestination( const OUString& rFile );
+ virtual bool checkDownloadDestination( const OUString& rFile ) SAL_OVERRIDE;
// Cancels the download action (and resumes checking if enabled)
void cancelDownload();
@@ -106,20 +106,20 @@ public:
SAL_DLLPUBLIC_EXPORT com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler > getInteractionHandler() const;
// UpdateCheckConfigListener
- virtual void autoCheckStatusChanged(bool enabled);
- virtual void autoCheckIntervalChanged();
+ virtual void autoCheckStatusChanged(bool enabled) SAL_OVERRIDE;
+ virtual void autoCheckIntervalChanged() SAL_OVERRIDE;
// IActionListener
- void cancel();
- void download();
- void install();
- void pause();
- void resume();
- void closeAfterFailure();
+ void cancel() SAL_OVERRIDE;
+ void download() SAL_OVERRIDE;
+ void install() SAL_OVERRIDE;
+ void pause() SAL_OVERRIDE;
+ void resume() SAL_OVERRIDE;
+ void closeAfterFailure() SAL_OVERRIDE;
// rtl::IReference
- virtual oslInterlockedCount SAL_CALL acquire() SAL_THROW(());
- virtual oslInterlockedCount SAL_CALL release() SAL_THROW(());
+ virtual oslInterlockedCount SAL_CALL acquire() SAL_THROW(()) SAL_OVERRIDE;
+ virtual oslInterlockedCount SAL_CALL release() SAL_THROW(()) SAL_OVERRIDE;
private:
diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx
index 842066a1f7c9..5648ee4a9f93 100644
--- a/extensions/source/update/check/updatecheckconfig.hxx
+++ b/extensions/source/update/check/updatecheckconfig.hxx
@@ -149,43 +149,43 @@ public:
// XElementAccess
virtual ::com::sun::star::uno::Type SAL_CALL getElementType( )
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasElements( )
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XNameAccess
virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
throw (::com::sun::star::container::NoSuchElementException,
::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::Sequence< OUString > SAL_CALL getElementNames( )
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XNameReplace
virtual void SAL_CALL replaceByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement )
throw (::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::container::NoSuchElementException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException, std::exception);
+ ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XChangesBatch
virtual void SAL_CALL commitChanges( )
throw (::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException, std::exception);
+ ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::sal_Bool SAL_CALL hasPendingChanges( )
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::util::ElementChange > SAL_CALL getPendingChanges( )
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(OUString const & serviceName)
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx
index 76a52cf61a44..4d785981d636 100644
--- a/extensions/source/update/check/updatecheckjob.cxx
+++ b/extensions/source/update/check/updatecheckjob.cxx
@@ -49,7 +49,7 @@ public:
const uno::Sequence< beans::NamedValue > &xParameters,
bool bShowDialog );
- virtual void SAL_CALL run();
+ virtual void SAL_CALL run() SAL_OVERRIDE;
void setTerminating();
@@ -83,25 +83,25 @@ public:
// XJob
virtual uno::Any SAL_CALL execute(const uno::Sequence<beans::NamedValue>&)
- throw (lang::IllegalArgumentException, uno::Exception, std::exception);
+ throw (lang::IllegalArgumentException, uno::Exception, std::exception) SAL_OVERRIDE;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(OUString const & serviceName)
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XEventListener
virtual void SAL_CALL disposing( ::com::sun::star::lang::EventObject const & evt )
- throw (::com::sun::star::uno::RuntimeException, std::exception);
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XTerminateListener
virtual void SAL_CALL queryTermination( lang::EventObject const & evt )
- throw ( frame::TerminationVetoException, uno::RuntimeException, std::exception );
+ throw ( frame::TerminationVetoException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL notifyTermination( lang::EventObject const & evt )
- throw ( uno::RuntimeException, std::exception );
+ throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
private:
uno::Reference<uno::XComponentContext> m_xContext;
diff --git a/extensions/source/update/check/updatehdl.hxx b/extensions/source/update/check/updatehdl.hxx
index 981c6478c07b..948f2b7215b7 100644
--- a/extensions/source/update/check/updatehdl.hxx
+++ b/extensions/source/update/check/updatehdl.hxx
@@ -186,25 +186,25 @@ public:
{ return const_cast< cppu::OWeakObject * > (static_cast< cppu::OWeakObject const * > (this)); };
// XActionListener
- virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject &rObj ) throw( com::sun::star::uno::RuntimeException, std::exception );
- virtual void SAL_CALL actionPerformed( com::sun::star::awt::ActionEvent const & rEvent) throw( com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject &rObj ) throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual void SAL_CALL actionPerformed( com::sun::star::awt::ActionEvent const & rEvent) throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XTopWindowListener
- virtual void SAL_CALL windowOpened( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL windowClosing( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL windowClosed( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL windowMinimized( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL windowNormalized( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL windowActivated( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL windowDeactivated( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL windowOpened( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL windowClosing( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL windowClosed( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL windowMinimized( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL windowNormalized( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL windowActivated( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL windowDeactivated( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XInteractionHandler
virtual void SAL_CALL handle( const com::sun::star::uno::Reference< com::sun::star::task::XInteractionRequest >& Request )
- throw( com::sun::star::uno::RuntimeException, std::exception );
+ throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XTerminateListener
- virtual void SAL_CALL queryTermination( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::frame::TerminationVetoException, ::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL notifyTermination( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL queryTermination( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::frame::TerminationVetoException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL notifyTermination( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
#endif /* INCLUDED_UPDATE_HDL_HXX */
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index 317437aaf6a8..fe41615e53a7 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -123,9 +123,9 @@ public:
ActiveDataSink() {};
virtual uno::Reference< io::XInputStream > SAL_CALL getInputStream()
- throw (uno::RuntimeException, std::exception) { return m_xStream; };
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_xStream; };
virtual void SAL_CALL setInputStream( uno::Reference< io::XInputStream > const & rStream )
- throw (uno::RuntimeException, std::exception) { m_xStream = rStream; };
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE { m_xStream = rStream; };
};
@@ -150,40 +150,40 @@ public:
getUpdateInformation(
uno::Sequence< OUString > const & repositories,
OUString const & extensionId
- ) throw (uno::Exception, uno::RuntimeException, std::exception);
+ ) throw (uno::Exception, uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL cancel()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setInteractionHandler(
uno::Reference< task::XInteractionHandler > const & handler )
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual uno::Reference< container::XEnumeration > SAL_CALL
getUpdateInformationEnumeration(
uno::Sequence< OUString > const & repositories,
OUString const & extensionId
- ) throw (uno::Exception, uno::RuntimeException, std::exception);
+ ) throw (uno::Exception, uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XCommandEnvironment
virtual uno::Reference< task::XInteractionHandler > SAL_CALL getInteractionHandler()
- throw ( uno::RuntimeException, std::exception );
+ throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual uno::Reference< ucb::XProgressHandler > SAL_CALL getProgressHandler()
- throw ( uno::RuntimeException, std::exception ) { return uno::Reference< ucb::XProgressHandler >(); };
+ throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE { return uno::Reference< ucb::XProgressHandler >(); };
// XWebDAVCommandEnvironment
virtual uno::Sequence< beans::StringPair > SAL_CALL getUserRequestHeaders(
const OUString&, ucb::WebDAVHTTPMethod )
- throw ( uno::RuntimeException, std::exception ) { return m_aRequestHeaderList; };
+ throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE { return m_aRequestHeaderList; };
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(OUString const & serviceName)
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
@@ -236,8 +236,8 @@ public:
virtual ~UpdateInformationEnumeration() {};
// XEnumeration
- sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) { return m_nCount < m_nNodes; };
- uno::Any SAL_CALL nextElement() throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE { return m_nCount < m_nNodes; };
+ uno::Any SAL_CALL nextElement() throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) SAL_OVERRIDE
{
OSL_ASSERT( m_xNodeList.is() );
OSL_ASSERT( m_xUpdateInformationProvider.is() );
@@ -296,8 +296,8 @@ public:
virtual ~SingleUpdateInformationEnumeration() {};
// XEnumeration
- sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) { return 0 == m_nCount; };
- uno::Any SAL_CALL nextElement() throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE { return 0 == m_nCount; };
+ uno::Any SAL_CALL nextElement() throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) SAL_OVERRIDE
{
if( m_nCount > 0 )
throw container::NoSuchElementException(OUString::number(m_nCount), *this);
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index ce302c9d58fe..e4d13a7ad805 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -107,9 +107,9 @@ public:
const OUString& rText, const Image& rImage );
~BubbleWindow();
- virtual void MouseButtonDown( const MouseEvent& rMEvt );
- virtual void Paint( const Rectangle& rRect );
- void Resize();
+ virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
+ virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ void Resize() SAL_OVERRIDE;
void Show( sal_Bool bVisible = sal_True, sal_uInt16 nFlags = SHOW_NOACTIVATE );
void SetTipPosPixel( const Point& rTipPos ) { maTipPos = rTipPos; }
void SetTitleAndText( const OUString& rTitle, const OUString& rText,
@@ -161,38 +161,38 @@ public:
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(OUString const & serviceName)
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XEventListener
virtual void SAL_CALL notifyEvent(const document::EventObject& Event)
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL disposing(const lang::EventObject& Event)
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
//XPropertySet
virtual uno::Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(void)
- throw ( uno::RuntimeException, std::exception );
+ throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setPropertyValue(const OUString& PropertyName, const uno::Any& aValue)
throw( beans::UnknownPropertyException, beans::PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception );
+ lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual uno::Any SAL_CALL getPropertyValue(const OUString& PropertyName)
- throw ( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception );
+ throw ( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL addPropertyChangeListener(const OUString& PropertyName,
const uno::Reference< beans::XPropertyChangeListener > & aListener)
- throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception );
+ throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL removePropertyChangeListener(const OUString& PropertyName,
const uno::Reference< beans::XPropertyChangeListener > & aListener)
- throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception );
+ throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL addVetoableChangeListener(const OUString& PropertyName,
const uno::Reference< beans::XVetoableChangeListener > & aListener)
- throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception );
+ throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL removeVetoableChangeListener(const OUString& PropertyName,
const uno::Reference< beans::XVetoableChangeListener > & aListener)
- throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception );
+ throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};