diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-15 23:39:05 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-15 23:39:05 +0200 |
commit | 63f1445c73f54fe9adcc0c0cb0aae6c7e639c8a2 (patch) | |
tree | 390174096c3deb5647b5e81d85338a1b990cea55 /sfx2/source/inc/docundomanager.hxx | |
parent | 7c1bc8c31291669c2254592d7e30222a511d3a8a (diff) |
undoapi: API and Impl tweaks
Diffstat (limited to 'sfx2/source/inc/docundomanager.hxx')
-rwxr-xr-x | sfx2/source/inc/docundomanager.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sfx2/source/inc/docundomanager.hxx b/sfx2/source/inc/docundomanager.hxx index b87e8fa78dc8..d03af0ae090a 100755 --- a/sfx2/source/inc/docundomanager.hxx +++ b/sfx2/source/inc/docundomanager.hxx @@ -73,8 +73,8 @@ namespace sfx2 virtual void SAL_CALL enterHiddenUndoContext( ) throw (::com::sun::star::util::InvalidStateException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL leaveUndoContext( ) throw (::com::sun::star::util::InvalidStateException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addUndoAction( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoAction >& i_action ) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException); - virtual void SAL_CALL undo( ) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::WrappedTargetException); - virtual void SAL_CALL redo( ) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::WrappedTargetException); + virtual void SAL_CALL undo( ) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::util::InvalidStateException, ::com::sun::star::lang::WrappedTargetException); + virtual void SAL_CALL redo( ) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::util::InvalidStateException, ::com::sun::star::lang::WrappedTargetException); virtual void SAL_CALL clear( ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL clearRedo( ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addUndoManagerListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManagerListener >& i_listener ) throw (::com::sun::star::uno::RuntimeException); @@ -102,8 +102,10 @@ namespace sfx2 ); void impl_do_nolck( + USHORT ( SfxUndoManager::*i_checkMethod )() const, BOOL ( SfxUndoManager::*i_doMethod )(), - UniString ( SfxUndoManager::*i_titleRetriever )( USHORT ) const + UniString ( SfxUndoManager::*i_titleRetriever )( USHORT ) const, + void ( SAL_CALL ::com::sun::star::document::XUndoManagerListener::*i_notificationMethod )( const ::com::sun::star::document::UndoManagerEvent& ) ); private: |