summaryrefslogtreecommitdiff
path: root/desktop/source/pkgchk
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 /desktop/source/pkgchk
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 'desktop/source/pkgchk')
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx4
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx12
2 files changed, 8 insertions, 8 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
index 2528181aa7da..d6048d82d1b7 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
@@ -130,12 +130,12 @@ public:
// XEventListener (base of XDialogClosedListener)
virtual void SAL_CALL disposing( lang::EventObject const & Source )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XDialogClosedListener
virtual void SAL_CALL dialogClosed(
ui::dialogs::DialogClosedEvent const & aEvent )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
};
// XEventListener (base of XDialogClosedListener)
diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
index 7927481106d3..069f7711dd12 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
@@ -78,19 +78,19 @@ public:
// XCommandEnvironment
virtual Reference< task::XInteractionHandler > SAL_CALL
- getInteractionHandler() throw (RuntimeException, std::exception);
+ getInteractionHandler() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual Reference< XProgressHandler > SAL_CALL getProgressHandler()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XInteractionHandler
virtual void SAL_CALL handle(
Reference< task::XInteractionRequest > const & xRequest )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XProgressHandler
- virtual void SAL_CALL push( Any const & Status ) throw (RuntimeException, std::exception);
- virtual void SAL_CALL update( Any const & Status ) throw (RuntimeException, std::exception);
- virtual void SAL_CALL pop() throw (RuntimeException, std::exception);
+ virtual void SAL_CALL push( Any const & Status ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL update( Any const & Status ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL pop() throw (RuntimeException, std::exception) SAL_OVERRIDE;
};