summaryrefslogtreecommitdiff
path: root/chart2/source/model/main
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/main')
-rwxr-xr-xchart2/source/model/main/UndoManager.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/chart2/source/model/main/UndoManager.hxx b/chart2/source/model/main/UndoManager.hxx
index 28f41afd6241..9071a9010b47 100755
--- a/chart2/source/model/main/UndoManager.hxx
+++ b/chart2/source/model/main/UndoManager.hxx
@@ -32,7 +32,7 @@
#include <com/sun/star/container/XChild.hpp>
/** === end UNO includes === **/
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase1.hxx>
#include <boost/scoped_ptr.hpp>
@@ -44,8 +44,7 @@ namespace chart
namespace impl
{
class UndoManager_Impl;
- typedef ::cppu::ImplHelper2 < ::com::sun::star::document::XUndoManager
- , ::com::sun::star::container::XChild
+ typedef ::cppu::ImplHelper1 < ::com::sun::star::document::XUndoManager
> UndoManager_Base;
}
@@ -89,7 +88,7 @@ namespace chart
virtual void SAL_CALL unlock( ) throw (::com::sun::star::util::NotLockedException, ::com::sun::star::uno::RuntimeException);
virtual ::sal_Bool SAL_CALL isLocked( ) throw (::com::sun::star::uno::RuntimeException);
- // XChild
+ // XChild (base of XUndoManager)
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getParent( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Parent ) throw (::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException);