summaryrefslogtreecommitdiffstats
path: root/configmgr/source/readwriteaccess.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 /configmgr/source/readwriteaccess.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 'configmgr/source/readwriteaccess.cxx')
-rw-r--r--configmgr/source/readwriteaccess.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/configmgr/source/readwriteaccess.cxx b/configmgr/source/readwriteaccess.cxx
index bce076b2c2e7..2b4e97e5d5e7 100644
--- a/configmgr/source/readwriteaccess.cxx
+++ b/configmgr/source/readwriteaccess.cxx
@@ -58,29 +58,29 @@ private:
virtual ~Service() {}
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return read_write_access::getImplementationName(); }
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return cppu::supportsService(this, ServiceName); }
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return read_write_access::getSupportedServiceNames(); }
virtual void SAL_CALL initialize(
css::uno::Sequence< css::uno::Any > const & aArguments)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL getByHierarchicalName(
OUString const & aName)
throw (
- css::container::NoSuchElementException, css::uno::RuntimeException, std::exception)
+ css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getRoot()->getByHierarchicalName(aName); }
virtual sal_Bool SAL_CALL hasByHierarchicalName(OUString const & aName)
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getRoot()->hasByHierarchicalName(aName); }
virtual void SAL_CALL replaceByHierarchicalName(
@@ -88,19 +88,19 @@ private:
throw (
css::lang::IllegalArgumentException,
css::container::NoSuchElementException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ getRoot()->replaceByHierarchicalName(aName, aElement); }
virtual void SAL_CALL commitChanges()
- throw (css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
+ throw (css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ getRoot()->commitChanges(); }
virtual sal_Bool SAL_CALL hasPendingChanges()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getRoot()->hasPendingChanges(); }
virtual css::util::ChangesSet SAL_CALL getPendingChanges()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return getRoot()->getPendingChanges(); }
rtl::Reference< RootAccess > getRoot();