diff options
Diffstat (limited to 'sfx2/source/doc/docundomanager.cxx')
-rw-r--r-- | sfx2/source/doc/docundomanager.cxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx index b8e85653ee5d..2c57d3e05b4e 100644 --- a/sfx2/source/doc/docundomanager.cxx +++ b/sfx2/source/doc/docundomanager.cxx @@ -265,7 +265,7 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::enterUndoContext( const OUString& i_title ) throw (RuntimeException) + void SAL_CALL DocumentUndoManager::enterUndoContext( const OUString& i_title ) throw (RuntimeException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -275,7 +275,7 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::enterHiddenUndoContext( ) throw (EmptyUndoStackException, RuntimeException) + void SAL_CALL DocumentUndoManager::enterHiddenUndoContext( ) throw (EmptyUndoStackException, RuntimeException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -285,7 +285,7 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::leaveUndoContext( ) throw (InvalidStateException, RuntimeException) + void SAL_CALL DocumentUndoManager::leaveUndoContext( ) throw (InvalidStateException, RuntimeException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -295,7 +295,7 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::addUndoAction( const Reference< XUndoAction >& i_action ) throw (RuntimeException, IllegalArgumentException) + void SAL_CALL DocumentUndoManager::addUndoAction( const Reference< XUndoAction >& i_action ) throw (RuntimeException, IllegalArgumentException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -305,7 +305,7 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::undo( ) throw (EmptyUndoStackException, UndoContextNotClosedException, UndoFailedException, RuntimeException) + void SAL_CALL DocumentUndoManager::undo( ) throw (EmptyUndoStackException, UndoContextNotClosedException, UndoFailedException, RuntimeException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -315,7 +315,7 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::redo( ) throw (EmptyUndoStackException, UndoContextNotClosedException, UndoFailedException, RuntimeException) + void SAL_CALL DocumentUndoManager::redo( ) throw (EmptyUndoStackException, UndoContextNotClosedException, UndoFailedException, RuntimeException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -325,49 +325,49 @@ namespace sfx2 } - ::sal_Bool SAL_CALL DocumentUndoManager::isUndoPossible( ) throw (RuntimeException) + ::sal_Bool SAL_CALL DocumentUndoManager::isUndoPossible( ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.isUndoPossible(); } - ::sal_Bool SAL_CALL DocumentUndoManager::isRedoPossible( ) throw (RuntimeException) + ::sal_Bool SAL_CALL DocumentUndoManager::isRedoPossible( ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.isRedoPossible(); } - OUString SAL_CALL DocumentUndoManager::getCurrentUndoActionTitle( ) throw (EmptyUndoStackException, RuntimeException) + OUString SAL_CALL DocumentUndoManager::getCurrentUndoActionTitle( ) throw (EmptyUndoStackException, RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.getCurrentUndoActionTitle(); } - OUString SAL_CALL DocumentUndoManager::getCurrentRedoActionTitle( ) throw (EmptyUndoStackException, RuntimeException) + OUString SAL_CALL DocumentUndoManager::getCurrentRedoActionTitle( ) throw (EmptyUndoStackException, RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.getCurrentRedoActionTitle(); } - Sequence< OUString > SAL_CALL DocumentUndoManager::getAllUndoActionTitles( ) throw (RuntimeException) + Sequence< OUString > SAL_CALL DocumentUndoManager::getAllUndoActionTitles( ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.getAllUndoActionTitles(); } - Sequence< OUString > SAL_CALL DocumentUndoManager::getAllRedoActionTitles( ) throw (RuntimeException) + Sequence< OUString > SAL_CALL DocumentUndoManager::getAllRedoActionTitles( ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.getAllRedoActionTitles(); } - void SAL_CALL DocumentUndoManager::clear( ) throw (UndoContextNotClosedException, RuntimeException) + void SAL_CALL DocumentUndoManager::clear( ) throw (UndoContextNotClosedException, RuntimeException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -377,7 +377,7 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::clearRedo( ) throw (UndoContextNotClosedException, RuntimeException) + void SAL_CALL DocumentUndoManager::clearRedo( ) throw (UndoContextNotClosedException, RuntimeException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -387,7 +387,7 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::reset() throw (RuntimeException) + void SAL_CALL DocumentUndoManager::reset() throw (RuntimeException, std::exception) { // SYNCHRONIZED ---> UndoManagerGuard aGuard( *this ); @@ -397,49 +397,49 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::lock( ) throw (RuntimeException) + void SAL_CALL DocumentUndoManager::lock( ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); m_pImpl->aUndoHelper.lock(); } - void SAL_CALL DocumentUndoManager::unlock( ) throw (RuntimeException, NotLockedException) + void SAL_CALL DocumentUndoManager::unlock( ) throw (RuntimeException, NotLockedException, std::exception) { UndoManagerGuard aGuard( *this ); m_pImpl->aUndoHelper.unlock(); } - ::sal_Bool SAL_CALL DocumentUndoManager::isLocked( ) throw (RuntimeException) + ::sal_Bool SAL_CALL DocumentUndoManager::isLocked( ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.isLocked(); } - void SAL_CALL DocumentUndoManager::addUndoManagerListener( const Reference< XUndoManagerListener >& i_listener ) throw (RuntimeException) + void SAL_CALL DocumentUndoManager::addUndoManagerListener( const Reference< XUndoManagerListener >& i_listener ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.addUndoManagerListener( i_listener ); } - void SAL_CALL DocumentUndoManager::removeUndoManagerListener( const Reference< XUndoManagerListener >& i_listener ) throw (RuntimeException) + void SAL_CALL DocumentUndoManager::removeUndoManagerListener( const Reference< XUndoManagerListener >& i_listener ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return m_pImpl->aUndoHelper.removeUndoManagerListener( i_listener ); } - Reference< XInterface > SAL_CALL DocumentUndoManager::getParent( ) throw (RuntimeException) + Reference< XInterface > SAL_CALL DocumentUndoManager::getParent( ) throw (RuntimeException, std::exception) { UndoManagerGuard aGuard( *this ); return static_cast< XModel* >( &getBaseModel() ); } - void SAL_CALL DocumentUndoManager::setParent( const Reference< XInterface >& i_parent ) throw (NoSupportException, RuntimeException) + void SAL_CALL DocumentUndoManager::setParent( const Reference< XInterface >& i_parent ) throw (NoSupportException, RuntimeException, std::exception) { (void)i_parent; throw NoSupportException( OUString(), m_pImpl->getThis() ); |