diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-14 16:40:30 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-14 16:40:30 +0200 |
commit | 7ef064a0825daadc6b810d782db83ed6028bb8e2 (patch) | |
tree | e2694a7a2553633540f5b4e9aa49c219a4e2d7ff /offapi/com/sun/star/document | |
parent | 0658bb205ab9da692e1f73199e92ca40003e27af (diff) |
undoapi: some flesh on the initial skeleton
Diffstat (limited to 'offapi/com/sun/star/document')
-rwxr-xr-x | offapi/com/sun/star/document/XUndoManager.idl | 7 | ||||
-rwxr-xr-x | offapi/com/sun/star/document/XUndoManagerSupplier.idl | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl index 9ad65e4f4e82..d69b211f2f90 100755 --- a/offapi/com/sun/star/document/XUndoManager.idl +++ b/offapi/com/sun/star/document/XUndoManager.idl @@ -28,6 +28,7 @@ #define __com_sun_star_document_XUndoManager_idl__ #include <com/sun/star/util/InvalidStateException.idl> +#include <com/sun/star/lang/IllegalArgumentException.idl> //================================================================================================================== @@ -112,10 +113,14 @@ interface XUndoManager action is finally removed from the undo manager's control (e.g. by calling <member>clear</member> resp. <member>clearRedo</member>), it will be disposed, as long as it supports the <member scope="com::sun::star::lang">XComponent</member> interface.</p> + + @throws ::com::sun::star::lang::IllegalArgumentException + if the given undo action is <NULL/>. */ void addUndoAction( [in] XUndoAction i_action - ); + ) + raises( ::com::sun::star::lang::IllegalArgumentException ); /** reverts the most recent action on the document. diff --git a/offapi/com/sun/star/document/XUndoManagerSupplier.idl b/offapi/com/sun/star/document/XUndoManagerSupplier.idl index 14b345e44126..88a082259413 100755 --- a/offapi/com/sun/star/document/XUndoManagerSupplier.idl +++ b/offapi/com/sun/star/document/XUndoManagerSupplier.idl @@ -27,6 +27,8 @@ #ifndef __com_sun_star_document_XUndoManagerSupplier_idl__ #define __com_sun_star_document_XUndoManagerSupplier_idl__ +#include <com/sun/star/uno/XInterface.idl> + //================================================================================================================== module com { module sun { module star { module document { |