diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /configmgr/source | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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 'configmgr/source')
-rw-r--r-- | configmgr/source/access.hxx | 104 | ||||
-rw-r--r-- | configmgr/source/childaccess.hxx | 32 | ||||
-rw-r--r-- | configmgr/source/components.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/configurationprovider.cxx | 40 | ||||
-rw-r--r-- | configmgr/source/configurationregistry.cxx | 86 | ||||
-rw-r--r-- | configmgr/source/groupnode.hxx | 14 | ||||
-rw-r--r-- | configmgr/source/localizedpropertynode.hxx | 8 | ||||
-rw-r--r-- | configmgr/source/localizedvaluenode.hxx | 6 | ||||
-rw-r--r-- | configmgr/source/propertynode.hxx | 4 | ||||
-rw-r--r-- | configmgr/source/readonlyaccess.cxx | 12 | ||||
-rw-r--r-- | configmgr/source/readwriteaccess.cxx | 20 | ||||
-rw-r--r-- | configmgr/source/rootaccess.hxx | 44 | ||||
-rw-r--r-- | configmgr/source/rootnode.hxx | 6 | ||||
-rw-r--r-- | configmgr/source/setnode.hxx | 14 | ||||
-rw-r--r-- | configmgr/source/update.cxx | 8 | ||||
-rw-r--r-- | configmgr/source/xcdparser.hxx | 8 | ||||
-rw-r--r-- | configmgr/source/xcsparser.hxx | 8 | ||||
-rw-r--r-- | configmgr/source/xcuparser.hxx | 8 |
18 files changed, 212 insertions, 212 deletions
diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx index 18e1681af957..7382a983225c 100644 --- a/configmgr/source/access.hxx +++ b/configmgr/source/access.hxx @@ -136,60 +136,60 @@ public: using OWeakObject::release; virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > SAL_CALL - getTypes() throw (com::sun::star::uno::RuntimeException, std::exception); + getTypes() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL - getImplementationId() throw (com::sun::star::uno::RuntimeException, std::exception); + getImplementationId() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; 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); + getSupportedServiceNames() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL dispose() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addEventListener( com::sun::star::uno::Reference< com::sun::star::lang::XEventListener > const & xListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeEventListener( com::sun::star::uno::Reference< com::sun::star::lang::XEventListener > const & aListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; 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; virtual com::sun::star::uno::Any SAL_CALL getByName( OUString const & 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); + getElementNames() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasByName(OUString const & aName) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::uno::Any SAL_CALL getByHierarchicalName( OUString const & aName) throw ( com::sun::star::container::NoSuchElementException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasByHierarchicalName(OUString const & aName) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL replaceByHierarchicalName( OUString const & aName, com::sun::star::uno::Any const & aElement) @@ -197,56 +197,56 @@ public: 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; virtual void SAL_CALL addContainerListener( com::sun::star::uno::Reference< com::sun::star::container::XContainerListener > const & xListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeContainerListener( com::sun::star::uno::Reference< com::sun::star::container::XContainerListener > const & xListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getExactName( OUString const & aApproximateName) - 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::beans::Property > - SAL_CALL getProperties() throw (com::sun::star::uno::RuntimeException, std::exception); + SAL_CALL getProperties() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::beans::Property SAL_CALL getPropertyByName( OUString const & aName) throw ( com::sun::star::beans::UnknownPropertyException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasPropertyByName(OUString const & Name) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getHierarchicalName() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL composeHierarchicalName( OUString const & aRelativeName) throw ( com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::NoSupportException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getName() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setName(OUString const & aName) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::beans::Property SAL_CALL getAsProperty() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > - SAL_CALL getPropertySetInfo() throw (com::sun::star::uno::RuntimeException, std::exception); + SAL_CALL getPropertySetInfo() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setPropertyValue( OUString const & aPropertyName, @@ -256,14 +256,14 @@ public: com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, 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::Any SAL_CALL getPropertyValue( OUString const & PropertyName) throw ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addPropertyChangeListener( OUString const & aPropertyName, @@ -272,7 +272,7 @@ public: throw ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removePropertyChangeListener( OUString const & aPropertyName, @@ -281,7 +281,7 @@ public: throw ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addVetoableChangeListener( OUString const & PropertyName, @@ -290,7 +290,7 @@ public: throw ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeVetoableChangeListener( OUString const & PropertyName, @@ -299,7 +299,7 @@ public: throw ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setPropertyValues( com::sun::star::uno::Sequence< OUString > const & aPropertyNames, @@ -309,38 +309,38 @@ public: com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, 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< com::sun::star::uno::Any > SAL_CALL getPropertyValues( com::sun::star::uno::Sequence< OUString > const & aPropertyNames) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addPropertiesChangeListener( com::sun::star::uno::Sequence< OUString > const & aPropertyNames, com::sun::star::uno::Reference< com::sun::star::beans::XPropertiesChangeListener > const & xListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removePropertiesChangeListener( com::sun::star::uno::Reference< com::sun::star::beans::XPropertiesChangeListener > const & xListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL firePropertiesChangeEvent( com::sun::star::uno::Sequence< OUString > const & aPropertyNames, com::sun::star::uno::Reference< com::sun::star::beans::XPropertiesChangeListener > const & xListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::beans::XHierarchicalPropertySetInfo > SAL_CALL getHierarchicalPropertySetInfo() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setHierarchicalPropertyValue( OUString const & aHierarchicalPropertyName, @@ -350,7 +350,7 @@ public: com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, 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::Any SAL_CALL getHierarchicalPropertyValue( OUString const & aHierarchicalPropertyName) @@ -358,7 +358,7 @@ public: com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setHierarchicalPropertyValues( com::sun::star::uno::Sequence< OUString > const & @@ -369,7 +369,7 @@ public: com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, 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< com::sun::star::uno::Any > SAL_CALL getHierarchicalPropertyValues( @@ -378,17 +378,17 @@ public: throw ( com::sun::star::lang::IllegalArgumentException, 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::beans::Property SAL_CALL getPropertyByHierarchicalName(OUString const & aHierarchicalName) throw ( com::sun::star::beans::UnknownPropertyException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasPropertyByHierarchicalName( OUString const & aHierarchicalName) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL replaceByName( OUString const & aName, com::sun::star::uno::Any const & aElement) @@ -396,7 +396,7 @@ public: 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; virtual void SAL_CALL insertByName( OUString const & aName, com::sun::star::uno::Any const & aElement) @@ -404,19 +404,19 @@ public: com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException, com::sun::star::lang::WrappedTargetException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeByName(OUString const & 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::Reference< com::sun::star::uno::XInterface > SAL_CALL createInstance() throw ( com::sun::star::uno::Exception, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArguments( @@ -424,7 +424,7 @@ public: aArguments) throw ( com::sun::star::uno::Exception, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: Access(Components & components); @@ -446,7 +446,7 @@ protected: virtual com::sun::star::uno::Any SAL_CALL queryInterface( com::sun::star::uno::Type const & aType) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; Components & getComponents() const; diff --git a/configmgr/source/childaccess.hxx b/configmgr/source/childaccess.hxx index 478aa1494000..5e91b5ecc720 100644 --- a/configmgr/source/childaccess.hxx +++ b/configmgr/source/childaccess.hxx @@ -67,36 +67,36 @@ public: Components & components, rtl::Reference< RootAccess > const & root, rtl::Reference< Node > const & node); - virtual Path getAbsolutePath(); - virtual Path getRelativePath(); + virtual Path getAbsolutePath() SAL_OVERRIDE; + virtual Path getRelativePath() SAL_OVERRIDE; - virtual OUString getRelativePathRepresentation(); - virtual rtl::Reference< Node > getNode(); + virtual OUString getRelativePathRepresentation() SAL_OVERRIDE; + virtual rtl::Reference< Node > getNode() SAL_OVERRIDE; - virtual bool isFinalized(); + virtual bool isFinalized() SAL_OVERRIDE; - virtual OUString getNameInternal(); + virtual OUString getNameInternal() SAL_OVERRIDE; - virtual rtl::Reference< RootAccess > getRootAccess(); - virtual rtl::Reference< Access > getParentAccess(); + virtual rtl::Reference< RootAccess > getRootAccess() SAL_OVERRIDE; + virtual rtl::Reference< Access > getParentAccess() SAL_OVERRIDE; - virtual void SAL_CALL acquire() throw (); - virtual void SAL_CALL release() throw (); + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE; + virtual void SAL_CALL release() throw () SAL_OVERRIDE; virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL getParent() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setParent( com::sun::star::uno::Reference< com::sun::star::uno::XInterface > const &) throw ( com::sun::star::lang::NoSupportException, - com::sun::star::uno::RuntimeException, std::exception); + com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int64 SAL_CALL getSomething( com::sun::star::uno::Sequence< sal_Int8 > const & aIdentifier) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; void bind( rtl::Reference< RootAccess > const & root, @@ -121,14 +121,14 @@ private: virtual ~ChildAccess(); virtual void addTypes( - std::vector< com::sun::star::uno::Type > * types) const; + std::vector< com::sun::star::uno::Type > * types) const SAL_OVERRIDE; virtual void addSupportedServiceNames( - std::vector< OUString > * services); + std::vector< OUString > * services) SAL_OVERRIDE; virtual com::sun::star::uno::Any SAL_CALL queryInterface( com::sun::star::uno::Type const & aType) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; rtl::Reference< RootAccess > root_; rtl::Reference< Access > parent_; // null if free node diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx index 85865fd00e7d..4e7259b2bbac 100644 --- a/configmgr/source/components.cxx +++ b/configmgr/source/components.cxx @@ -155,7 +155,7 @@ public: private: virtual ~WriteThread() {} - virtual void execute(); + virtual void execute() SAL_OVERRIDE; rtl::Reference< WriteThread > * reference_; Components & components_; diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index fe74a111439c..ffcb8b241d1a 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -112,10 +112,10 @@ public: private: virtual ~Service() {} - virtual void SAL_CALL disposing() { flushModifications(); } + virtual void SAL_CALL disposing() SAL_OVERRIDE { flushModifications(); } virtual OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return default_ ? default_provider::getImplementationName() @@ -123,11 +123,11 @@ private: } 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 default_ ? default_provider::getSupportedServiceNames() @@ -136,42 +136,42 @@ private: virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( OUString const & aServiceSpecifier) - throw (css::uno::Exception, css::uno::RuntimeException, std::exception); + throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments( OUString const & ServiceSpecifier, css::uno::Sequence< css::uno::Any > const & Arguments) - throw (css::uno::Exception, css::uno::RuntimeException, std::exception); + throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL - getAvailableServiceNames() throw (css::uno::RuntimeException, std::exception); + getAvailableServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL refresh() throw (css::uno::RuntimeException, std::exception); + virtual void SAL_CALL refresh() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addRefreshListener( css::uno::Reference< css::util::XRefreshListener > const & l) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeRefreshListener( css::uno::Reference< css::util::XRefreshListener > const & l) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL flush() throw (css::uno::RuntimeException, std::exception); + virtual void SAL_CALL flush() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addFlushListener( css::uno::Reference< css::util::XFlushListener > const & l) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeFlushListener( css::uno::Reference< css::util::XFlushListener > const & l) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setLocale(css::lang::Locale const & eLocale) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::lang::Locale SAL_CALL getLocale() - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; void flushModifications() const; @@ -379,24 +379,24 @@ private: virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithContext( css::uno::Reference< css::uno::XComponentContext > const & Context) - throw (css::uno::Exception, css::uno::RuntimeException, std::exception); + throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArgumentsAndContext( css::uno::Sequence< css::uno::Any > const & Arguments, css::uno::Reference< css::uno::XComponentContext > const & Context) - throw (css::uno::Exception, css::uno::RuntimeException, std::exception); + throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return configuration_provider::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 configuration_provider::getSupportedServiceNames(); } }; diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx index 83dbd448232e..6c5b5b0cabd7 100644 --- a/configmgr/source/configurationregistry.cxx +++ b/configmgr/source/configurationregistry.cxx @@ -81,59 +81,59 @@ private: virtual ~Service() {} virtual OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return configuration_registry::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 configuration_registry::getSupportedServiceNames(); } - virtual OUString SAL_CALL getURL() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getURL() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL open( OUString const & rURL, sal_Bool bReadOnly, sal_Bool) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual sal_Bool SAL_CALL isValid() throw (css::uno::RuntimeException, std::exception); + virtual sal_Bool SAL_CALL isValid() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL close() throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL destroy() throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::registry::XRegistryKey > SAL_CALL getRootKey() throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual sal_Bool SAL_CALL isReadOnly() throw (css::uno::RuntimeException, std::exception); + virtual sal_Bool SAL_CALL isReadOnly() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL mergeKey(OUString const &, OUString const &) throw ( css::registry::InvalidRegistryException, - css::registry::MergeConflictException, css::uno::RuntimeException, std::exception); + css::registry::MergeConflictException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL flush() throw (css::uno::RuntimeException, std::exception); + virtual void SAL_CALL flush() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addFlushListener( css::uno::Reference< css::util::XFlushListener > const &) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeFlushListener( css::uno::Reference< css::util::XFlushListener > const &) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; void checkValid(); @@ -162,154 +162,154 @@ private: virtual ~RegistryKey() {} virtual OUString SAL_CALL getKeyName() - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL isReadOnly() throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual sal_Bool SAL_CALL isValid() throw (css::uno::RuntimeException, std::exception); + virtual sal_Bool SAL_CALL isValid() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::registry::RegistryKeyType SAL_CALL getKeyType( OUString const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::registry::RegistryValueType SAL_CALL getValueType() throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL getLongValue() throw ( css::registry::InvalidRegistryException, - css::registry::InvalidValueException, css::uno::RuntimeException, std::exception); + css::registry::InvalidValueException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setLongValue(sal_Int32) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< sal_Int32 > SAL_CALL getLongListValue() throw ( css::registry::InvalidRegistryException, - css::registry::InvalidValueException, css::uno::RuntimeException, std::exception); + css::registry::InvalidValueException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setLongListValue( css::uno::Sequence< sal_Int32 > const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getAsciiValue() throw ( css::registry::InvalidRegistryException, - css::registry::InvalidValueException, css::uno::RuntimeException, std::exception); + css::registry::InvalidValueException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setAsciiValue(OUString const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL getAsciiListValue() throw ( css::registry::InvalidRegistryException, - css::registry::InvalidValueException, css::uno::RuntimeException, std::exception); + css::registry::InvalidValueException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setAsciiListValue( css::uno::Sequence< OUString > const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getStringValue() throw ( css::registry::InvalidRegistryException, - css::registry::InvalidValueException, css::uno::RuntimeException, std::exception); + css::registry::InvalidValueException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setStringValue(OUString const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL getStringListValue() throw ( css::registry::InvalidRegistryException, - css::registry::InvalidValueException, css::uno::RuntimeException, std::exception); + css::registry::InvalidValueException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setStringListValue( css::uno::Sequence< OUString > const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBinaryValue() throw ( css::registry::InvalidRegistryException, - css::registry::InvalidValueException, css::uno::RuntimeException, std::exception); + css::registry::InvalidValueException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setBinaryValue(css::uno::Sequence< sal_Int8 > const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::registry::XRegistryKey > SAL_CALL openKey( OUString const & aKeyName) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::registry::XRegistryKey > SAL_CALL createKey(OUString const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL closeKey() throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL deleteKey(OUString const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< css::uno::Reference< css::registry::XRegistryKey > > SAL_CALL openKeys() throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL getKeyNames() throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL createLink( OUString const &, OUString const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL deleteLink(OUString const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getLinkTarget(OUString const &) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getResolvedName( OUString const & aKeyName) throw ( css::registry::InvalidRegistryException, - css::uno::RuntimeException, std::exception); + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; Service & service_; css::uno::Any value_; diff --git a/configmgr/source/groupnode.hxx b/configmgr/source/groupnode.hxx index 325b582d64b9..c3d1ee3b179f 100644 --- a/configmgr/source/groupnode.hxx +++ b/configmgr/source/groupnode.hxx @@ -34,15 +34,15 @@ class GroupNode: public Node { public: GroupNode(int layer, bool extensible, OUString const & templateName); - virtual rtl::Reference< Node > clone(bool keepTemplateName) const; + virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE; - virtual NodeMap & getMembers(); + virtual NodeMap & getMembers() SAL_OVERRIDE; - virtual OUString getTemplateName() const; + virtual OUString getTemplateName() const SAL_OVERRIDE; - virtual void setMandatory(int layer); + virtual void setMandatory(int layer) SAL_OVERRIDE; - virtual int getMandatory() const; + virtual int getMandatory() const SAL_OVERRIDE; bool isExtensible() const; @@ -51,9 +51,9 @@ private: virtual ~GroupNode(); - virtual Kind kind() const; + virtual Kind kind() const SAL_OVERRIDE; - virtual void clear(); + virtual void clear() SAL_OVERRIDE; bool extensible_; NodeMap members_; diff --git a/configmgr/source/localizedpropertynode.hxx b/configmgr/source/localizedpropertynode.hxx index e9ba72b5323d..fc2a23c2c5dc 100644 --- a/configmgr/source/localizedpropertynode.hxx +++ b/configmgr/source/localizedpropertynode.hxx @@ -35,9 +35,9 @@ class LocalizedPropertyNode: public Node { public: LocalizedPropertyNode(int layer, Type staticType, bool nillable); - virtual rtl::Reference< Node > clone(bool keepTemplateName) const; + virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE; - virtual NodeMap & getMembers(); + virtual NodeMap & getMembers() SAL_OVERRIDE; Type getStaticType() const; @@ -48,9 +48,9 @@ private: virtual ~LocalizedPropertyNode(); - virtual Kind kind() const; + virtual Kind kind() const SAL_OVERRIDE; - virtual void clear(); + virtual void clear() SAL_OVERRIDE; Type staticType_; // as specified in the component-schema (TYPE_ANY, ..., diff --git a/configmgr/source/localizedvaluenode.hxx b/configmgr/source/localizedvaluenode.hxx index 9a260a029743..55ec707f9548 100644 --- a/configmgr/source/localizedvaluenode.hxx +++ b/configmgr/source/localizedvaluenode.hxx @@ -34,9 +34,9 @@ class LocalizedValueNode: public Node { public: LocalizedValueNode(int layer, com::sun::star::uno::Any const & value); - virtual rtl::Reference< Node > clone(bool keepTemplateName) const; + virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE; - virtual OUString getTemplateName() const; + virtual OUString getTemplateName() const SAL_OVERRIDE; com::sun::star::uno::Any getValue() const; @@ -47,7 +47,7 @@ private: virtual ~LocalizedValueNode(); - virtual Kind kind() const; + virtual Kind kind() const SAL_OVERRIDE; com::sun::star::uno::Any value_; }; diff --git a/configmgr/source/propertynode.hxx b/configmgr/source/propertynode.hxx index 842c00e489f0..18ed3ec4b035 100644 --- a/configmgr/source/propertynode.hxx +++ b/configmgr/source/propertynode.hxx @@ -39,7 +39,7 @@ public: int layer, Type staticType, bool nillable, com::sun::star::uno::Any const & value, bool extension); - virtual rtl::Reference< Node > clone(bool keepTemplateName) const; + virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE; Type getStaticType() const; @@ -58,7 +58,7 @@ private: virtual ~PropertyNode(); - virtual Kind kind() const; + virtual Kind kind() const SAL_OVERRIDE; Type staticType_; // as specified in the component-schema (TYPE_ANY, ..., diff --git a/configmgr/source/readonlyaccess.cxx b/configmgr/source/readonlyaccess.cxx index a8c76b782dab..28a5e63ef337 100644 --- a/configmgr/source/readonlyaccess.cxx +++ b/configmgr/source/readonlyaccess.cxx @@ -56,29 +56,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_only_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_only_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); } rtl::Reference< RootAccess > getRoot(); 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(); diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx index f87d1b533721..a052b775ba29 100644 --- a/configmgr/source/rootaccess.hxx +++ b/configmgr/source/rootaccess.hxx @@ -62,14 +62,14 @@ public: Components & components, OUString const & pathRepresenation, OUString const & locale, bool update); - virtual Path getAbsolutePath(); + virtual Path getAbsolutePath() SAL_OVERRIDE; virtual void initBroadcaster( - Modifications::Node const & modifications, Broadcaster * broadcaster); + Modifications::Node const & modifications, Broadcaster * broadcaster) SAL_OVERRIDE; - virtual void SAL_CALL acquire() throw (); + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE; - virtual void SAL_CALL release() throw (); + virtual void SAL_CALL release() throw () SAL_OVERRIDE; OUString getAbsolutePathRepresentation(); @@ -82,58 +82,58 @@ public: virtual void SAL_CALL addChangesListener( com::sun::star::uno::Reference< com::sun::star::util::XChangesListener > const & aListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeChangesListener( com::sun::star::uno::Reference< com::sun::star::util::XChangesListener > const & aListener) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL commitChanges() throw ( com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException, - std::exception); + 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::util::ChangesSet SAL_CALL getPendingChanges() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: virtual ~RootAccess(); - virtual Path getRelativePath(); + virtual Path getRelativePath() SAL_OVERRIDE; - virtual OUString getRelativePathRepresentation(); + virtual OUString getRelativePathRepresentation() SAL_OVERRIDE; - virtual rtl::Reference< Node > getNode(); + virtual rtl::Reference< Node > getNode() SAL_OVERRIDE; - virtual bool isFinalized(); + virtual bool isFinalized() SAL_OVERRIDE; - virtual OUString getNameInternal(); + virtual OUString getNameInternal() SAL_OVERRIDE; - virtual rtl::Reference< RootAccess > getRootAccess(); + virtual rtl::Reference< RootAccess > getRootAccess() SAL_OVERRIDE; - virtual rtl::Reference< Access > getParentAccess(); + virtual rtl::Reference< Access > getParentAccess() SAL_OVERRIDE; virtual void addTypes(std::vector< com::sun::star::uno::Type > * types) - const; + const SAL_OVERRIDE; virtual void addSupportedServiceNames( - std::vector< OUString > * services); + std::vector< OUString > * services) SAL_OVERRIDE; - virtual void initDisposeBroadcaster(Broadcaster * broadcaster); + virtual void initDisposeBroadcaster(Broadcaster * broadcaster) SAL_OVERRIDE; - virtual void clearListeners() throw (); + virtual void clearListeners() throw () SAL_OVERRIDE; virtual com::sun::star::uno::Any SAL_CALL queryInterface( com::sun::star::uno::Type const & aType) - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getImplementationName() - throw (com::sun::star::uno::RuntimeException, std::exception); + throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; typedef std::multiset< diff --git a/configmgr/source/rootnode.hxx b/configmgr/source/rootnode.hxx index 354b4d7feeb9..6b1274ffa554 100644 --- a/configmgr/source/rootnode.hxx +++ b/configmgr/source/rootnode.hxx @@ -26,11 +26,11 @@ public: private: virtual ~RootNode(); - virtual Kind kind() const; + virtual Kind kind() const SAL_OVERRIDE; - virtual rtl::Reference< Node > clone(bool keepTemplateName) const; + virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE; - virtual NodeMap & getMembers(); + virtual NodeMap & getMembers() SAL_OVERRIDE; NodeMap members_; }; diff --git a/configmgr/source/setnode.hxx b/configmgr/source/setnode.hxx index bab9779822e4..0b85c789c244 100644 --- a/configmgr/source/setnode.hxx +++ b/configmgr/source/setnode.hxx @@ -38,15 +38,15 @@ public: int layer, OUString const & defaultTemplateName, OUString const & templateName); - virtual rtl::Reference< Node > clone(bool keepTemplateName) const; + virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE; - virtual NodeMap & getMembers(); + virtual NodeMap & getMembers() SAL_OVERRIDE; - virtual OUString getTemplateName() const; + virtual OUString getTemplateName() const SAL_OVERRIDE; - virtual void setMandatory(int layer); + virtual void setMandatory(int layer) SAL_OVERRIDE; - virtual int getMandatory() const; + virtual int getMandatory() const SAL_OVERRIDE; OUString const & getDefaultTemplateName() const; @@ -59,9 +59,9 @@ private: virtual ~SetNode(); - virtual Kind kind() const; + virtual Kind kind() const SAL_OVERRIDE; - virtual void clear(); + virtual void clear() SAL_OVERRIDE; OUString defaultTemplateName_; std::vector< OUString > additionalTemplateNames_; diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx index 7e6d982ca6e3..bfcc88725952 100644 --- a/configmgr/source/update.cxx +++ b/configmgr/source/update.cxx @@ -74,22 +74,22 @@ private: virtual void SAL_CALL insertExtensionXcsFile( sal_Bool shared, OUString const & fileUri) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL insertExtensionXcuFile( sal_Bool shared, OUString const & fileUri) throw (css::uno::RuntimeException, - std::exception); + std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeExtensionXcuFile(OUString const & fileUri) throw (css::uno::RuntimeException, - std::exception); + std::exception) SAL_OVERRIDE; virtual void SAL_CALL insertModificationXcuFile( OUString const & fileUri, css::uno::Sequence< OUString > const & includedPaths, css::uno::Sequence< OUString > const & excludedPaths) - throw (css::uno::RuntimeException, std::exception); + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; boost::shared_ptr<osl::Mutex> lock_; css::uno::Reference< css::uno::XComponentContext > context_; diff --git a/configmgr/source/xcdparser.hxx b/configmgr/source/xcdparser.hxx index 594118dc5fd5..708d122f3c4d 100644 --- a/configmgr/source/xcdparser.hxx +++ b/configmgr/source/xcdparser.hxx @@ -45,15 +45,15 @@ public: private: virtual ~XcdParser(); - virtual xmlreader::XmlReader::Text getTextMode(); + virtual xmlreader::XmlReader::Text getTextMode() SAL_OVERRIDE; virtual bool startElement( xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name, - std::set< OUString > const * existingDependencies); + std::set< OUString > const * existingDependencies) SAL_OVERRIDE; - virtual void endElement(xmlreader::XmlReader const & reader); + virtual void endElement(xmlreader::XmlReader const & reader) SAL_OVERRIDE; - virtual void characters(xmlreader::Span const & text); + virtual void characters(xmlreader::Span const & text) SAL_OVERRIDE; enum State { STATE_START, STATE_DEPENDENCIES, STATE_DEPENDENCY, STATE_COMPONENTS }; diff --git a/configmgr/source/xcsparser.hxx b/configmgr/source/xcsparser.hxx index 88d729e89b6b..fcf56556306f 100644 --- a/configmgr/source/xcsparser.hxx +++ b/configmgr/source/xcsparser.hxx @@ -47,15 +47,15 @@ public: private: virtual ~XcsParser(); - virtual xmlreader::XmlReader::Text getTextMode(); + virtual xmlreader::XmlReader::Text getTextMode() SAL_OVERRIDE; virtual bool startElement( xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name, - std::set< OUString > const * existingDependencies); + std::set< OUString > const * existingDependencies) SAL_OVERRIDE; - virtual void endElement(xmlreader::XmlReader const & reader); + virtual void endElement(xmlreader::XmlReader const & reader) SAL_OVERRIDE; - virtual void characters(xmlreader::Span const & text); + virtual void characters(xmlreader::Span const & text) SAL_OVERRIDE; void handleComponentSchema(xmlreader::XmlReader & reader); diff --git a/configmgr/source/xcuparser.hxx b/configmgr/source/xcuparser.hxx index c750bffc6f5b..726fc17e6945 100644 --- a/configmgr/source/xcuparser.hxx +++ b/configmgr/source/xcuparser.hxx @@ -59,15 +59,15 @@ public: private: virtual ~XcuParser(); - virtual xmlreader::XmlReader::Text getTextMode(); + virtual xmlreader::XmlReader::Text getTextMode() SAL_OVERRIDE; virtual bool startElement( xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name, - std::set< OUString > const * existingDependencies); + std::set< OUString > const * existingDependencies) SAL_OVERRIDE; - virtual void endElement(xmlreader::XmlReader const & reader); + virtual void endElement(xmlreader::XmlReader const & reader) SAL_OVERRIDE; - virtual void characters(xmlreader::Span const & span); + virtual void characters(xmlreader::Span const & span) SAL_OVERRIDE; enum Operation { OPERATION_MODIFY, OPERATION_REPLACE, OPERATION_FUSE, OPERATION_REMOVE }; |