summaryrefslogtreecommitdiff
path: root/sfx2/source/inc/docundomanager.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-15 23:39:05 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-15 23:39:05 +0200
commit63f1445c73f54fe9adcc0c0cb0aae6c7e639c8a2 (patch)
tree390174096c3deb5647b5e81d85338a1b990cea55 /sfx2/source/inc/docundomanager.hxx
parent7c1bc8c31291669c2254592d7e30222a511d3a8a (diff)
undoapi: API and Impl tweaks
Diffstat (limited to 'sfx2/source/inc/docundomanager.hxx')
-rwxr-xr-xsfx2/source/inc/docundomanager.hxx8
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: