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 /shell/source/unix | |
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 'shell/source/unix')
-rw-r--r-- | shell/source/unix/exec/shellexec.hxx | 8 | ||||
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file_handler.cxx | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/shell/source/unix/exec/shellexec.hxx b/shell/source/unix/exec/shellexec.hxx index 33305e0ab44c..a4e4e4a6db46 100644 --- a/shell/source/unix/exec/shellexec.hxx +++ b/shell/source/unix/exec/shellexec.hxx @@ -46,20 +46,20 @@ public: virtual void SAL_CALL execute( const OUString& aCommand, const OUString& aParameter, sal_Int32 nFlags ) - throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::system::SystemShellExecuteException, ::com::sun::star::uno::RuntimeException, std::exception); + throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::system::SystemShellExecuteException, ::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( const OUString& 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; }; diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx index b5dbcc10cf7b..e6f7fad0193b 100644 --- a/shell/source/unix/sysshell/recently_used_file_handler.cxx +++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx @@ -227,13 +227,13 @@ namespace /* private */ { virtual void start_element( const string_t& /*raw_name*/, const string_t& local_name, - const xml_tag_attribute_container_t& /*attributes*/) + const xml_tag_attribute_container_t& /*attributes*/) SAL_OVERRIDE { if ((local_name == TAG_RECENT_ITEM) && (NULL == item_)) item_ = new recently_used_item; } - virtual void end_element(const string_t& /*raw_name*/, const string_t& local_name) + virtual void end_element(const string_t& /*raw_name*/, const string_t& local_name) SAL_OVERRIDE { // check for end tags w/o start tag if( local_name != TAG_RECENT_FILES && NULL == item_ ) @@ -255,23 +255,23 @@ namespace /* private */ { current_element_.clear(); } - virtual void characters(const string_t& character) + virtual void characters(const string_t& character) SAL_OVERRIDE { if (character != "\n") current_element_ += character; } - virtual void start_document() {} - virtual void end_document() {} + virtual void start_document() SAL_OVERRIDE {} + virtual void end_document() SAL_OVERRIDE {} - virtual void ignore_whitespace(const string_t& /*whitespaces*/) + virtual void ignore_whitespace(const string_t& /*whitespaces*/) SAL_OVERRIDE {} virtual void processing_instruction( - const string_t& /*target*/, const string_t& /*data*/) + const string_t& /*target*/, const string_t& /*data*/) SAL_OVERRIDE {} - virtual void comment(const string_t& /*comment*/) + virtual void comment(const string_t& /*comment*/) SAL_OVERRIDE {} private: recently_used_item* item_; |