diff options
Diffstat (limited to 'framework/source/fwe/helper/documentundoguard.cxx')
-rw-r--r-- | framework/source/fwe/helper/documentundoguard.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx index cec4c0a253a3..2e839c62ee9a 100644 --- a/framework/source/fwe/helper/documentundoguard.cxx +++ b/framework/source/fwe/helper/documentundoguard.cxx @@ -110,84 +110,84 @@ namespace framework bool m_documentDisposed; }; - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::undoActionAdded( const UndoManagerEvent& i_event ) throw (RuntimeException) { (void)i_event; // not interested in } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::actionUndone( const UndoManagerEvent& i_event ) throw (RuntimeException) { (void)i_event; // not interested in } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::actionRedone( const UndoManagerEvent& i_event ) throw (RuntimeException) { (void)i_event; // not interested in } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::allActionsCleared( const EventObject& i_event ) throw (RuntimeException) { (void)i_event; // not interested in } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::redoActionsCleared( const EventObject& i_event ) throw (RuntimeException) { (void)i_event; // not interested in } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::resetAll( const EventObject& i_event ) throw (RuntimeException) { (void)i_event; m_nRelativeContextDepth = 0; } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::enteredContext( const UndoManagerEvent& i_event ) throw (RuntimeException) { (void)i_event; osl_atomic_increment( &m_nRelativeContextDepth ); } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::enteredHiddenContext( const UndoManagerEvent& i_event ) throw (RuntimeException) { (void)i_event; osl_atomic_increment( &m_nRelativeContextDepth ); } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::leftContext( const UndoManagerEvent& i_event ) throw (RuntimeException) { (void)i_event; osl_atomic_decrement( &m_nRelativeContextDepth ); } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::leftHiddenContext( const UndoManagerEvent& i_event ) throw (RuntimeException) { (void)i_event; osl_atomic_decrement( &m_nRelativeContextDepth ); } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::cancelledContext( const UndoManagerEvent& i_event ) throw (RuntimeException) { (void)i_event; osl_atomic_decrement( &m_nRelativeContextDepth ); } - //------------------------------------------------------------------------------------------------------------------ + void SAL_CALL UndoManagerContextListener::disposing( const EventObject& i_event ) throw (RuntimeException) { (void)i_event; @@ -205,7 +205,7 @@ namespace framework namespace { - //-------------------------------------------------------------------------------------------------------------- + void lcl_init( DocumentUndoGuard_Data& i_data, const Reference< XInterface >& i_undoSupplierComponent ) { try @@ -223,7 +223,7 @@ namespace framework } } - //-------------------------------------------------------------------------------------------------------------- + void lcl_restore( DocumentUndoGuard_Data& i_data ) { try @@ -242,7 +242,7 @@ namespace framework //================================================================================================================== //= DocumentUndoGuard //================================================================================================================== - //------------------------------------------------------------------------------------------------------------------ + DocumentUndoGuard::DocumentUndoGuard( const Reference< XInterface >& i_undoSupplierComponent ) :m_pData( new DocumentUndoGuard_Data ) { |