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
+#include
//==================================================================================================================
@@ -112,10 +113,14 @@ interface XUndoManager
action is finally removed from the undo manager's control (e.g. by calling clear resp.
clearRedo), it will be disposed, as long as it supports the XComponent
interface.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if the given undo action is .
*/
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
+
//==================================================================================================================
module com { module sun { module star { module document {