diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
commit | 567ef6d5782cdb729b49005caf6005610ce03e22 (patch) | |
tree | 7e3be1da41382e555d9091914ef7e064852a4fd4 /sfx2/source/doc/sfxbasemodel.cxx | |
parent | c36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff) |
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'sfx2/source/doc/sfxbasemodel.cxx')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 829ae99795be..ee58298bfe31 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -154,9 +154,9 @@ public: ~SfxDocInfoListener_Impl(); virtual void SAL_CALL disposing( const lang::EventObject& ) - throw ( RuntimeException, std::exception ); + throw ( RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL modified( const lang::EventObject& ) - throw ( RuntimeException, std::exception ); + throw ( RuntimeException, std::exception ) SAL_OVERRIDE; }; SfxDocInfoListener_Impl::~SfxDocInfoListener_Impl() { @@ -246,7 +246,7 @@ struct IMPL_SfxBaseModel_DataContainer : public ::sfx2::IModifiableDocument } // ::sfx2::IModifiableDocument - virtual void storageIsModified() + virtual void storageIsModified() SAL_OVERRIDE { if ( m_pObjectShell.Is() && !m_pObjectShell->IsModified() ) m_pObjectShell->SetModified( true ); @@ -322,8 +322,8 @@ public: : m_pData( pData ) {} - virtual void SAL_CALL disposing( const lang::EventObject& aEvent ) throw ( RuntimeException, std::exception ) ; - virtual void SAL_CALL printJobEvent( const view::PrintJobEvent& rEvent ) throw ( RuntimeException, std::exception); + virtual void SAL_CALL disposing( const lang::EventObject& aEvent ) throw ( RuntimeException, std::exception ) SAL_OVERRIDE ; + virtual void SAL_CALL printJobEvent( const view::PrintJobEvent& rEvent ) throw ( RuntimeException, std::exception) SAL_OVERRIDE; }; void SAL_CALL SfxPrintHelperListener_Impl::disposing( const lang::EventObject& ) throw ( RuntimeException, std::exception ) @@ -1145,9 +1145,9 @@ namespace } // XUndoAction - virtual OUString SAL_CALL getTitle() throw (RuntimeException, std::exception); - virtual void SAL_CALL undo( ) throw (UndoFailedException, RuntimeException, std::exception); - virtual void SAL_CALL redo( ) throw (UndoFailedException, RuntimeException, std::exception); + virtual OUString SAL_CALL getTitle() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL undo( ) throw (UndoFailedException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL redo( ) throw (UndoFailedException, RuntimeException, std::exception) SAL_OVERRIDE; private: const Reference< XModel > m_xModel; |