summaryrefslogtreecommitdiffstats
path: root/stoc/source/security/file_policy.cxx
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 /stoc/source/security/file_policy.cxx
parentcp#1000044 DOC import: fProtEnabled means document is not totally read-only (diff)
downloadcore-70cc2b191b95fbc210bc1f0f6a7159f341894f0f.tar.gz
core-70cc2b191b95fbc210bc1f0f6a7159f341894f0f.zip
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/security/file_policy.cxx')
-rw-r--r--stoc/source/security/file_policy.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx
index 8be031fb437c..fabd035f5060 100644
--- a/stoc/source/security/file_policy.cxx
+++ b/stoc/source/security/file_policy.cxx
@@ -68,7 +68,7 @@ class FilePolicy
bool m_init;
protected:
- virtual void SAL_CALL disposing();
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
public:
FilePolicy( Reference< XComponentContext > const & xComponentContext )
@@ -79,19 +79,19 @@ public:
// XPolicy impl
virtual Sequence< Any > SAL_CALL getPermissions(
OUString const & userId )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual Sequence< Any > SAL_CALL getDefaultPermissions()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL refresh()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo impl
virtual OUString SAL_CALL getImplementationName()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
};
FilePolicy::FilePolicy( Reference< XComponentContext > const & xComponentContext )