summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-11-09 21:37:01 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-11-09 21:37:01 +0100
commit9037b3a4565a3739ca1c7b62fcf27ea8e917c046 (patch)
tree4d9a5ee884145cb4739b4380d09ab3a651c24459 /offapi
parenta358dac4b7da1486051764c0e6c6e32f38193fa3 (diff)
undoapi: step 2.0 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: rename css.chart2.XUndoManager to XDocumentActions. Not sure this class will still exist (in either form) after the refactoring is finished.
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/chart2/XDocumentActions.idl (renamed from offapi/com/sun/star/chart2/XUndoManager.idl)6
-rw-r--r--offapi/com/sun/star/chart2/XUndoSupplier.idl57
-rw-r--r--offapi/com/sun/star/chart2/makefile.mk3
3 files changed, 4 insertions, 62 deletions
diff --git a/offapi/com/sun/star/chart2/XUndoManager.idl b/offapi/com/sun/star/chart2/XDocumentActions.idl
index 9354fa4f7a54..c26ee34ee64e 100644
--- a/offapi/com/sun/star/chart2/XUndoManager.idl
+++ b/offapi/com/sun/star/chart2/XDocumentActions.idl
@@ -24,8 +24,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef com_sun_star_chart2_XUndoManager_idl
-#define com_sun_star_chart2_XUndoManager_idl
+#ifndef com_sun_star_chart2_XDocumentActions_idl
+#define com_sun_star_chart2_XDocumentActions_idl
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/beans/PropertyValue.idl>
@@ -41,7 +41,7 @@ module chart2
/** An interface for undo functionality based on the model which the undo manager belongs to
*/
-interface XUndoManager : ::com::sun::star::uno::XInterface
+interface XDocumentActions : ::com::sun::star::uno::XInterface
{
/** call this before you change the model which the undo manager belongs to
*/
diff --git a/offapi/com/sun/star/chart2/XUndoSupplier.idl b/offapi/com/sun/star/chart2/XUndoSupplier.idl
deleted file mode 100644
index 901ca49ad74f..000000000000
--- a/offapi/com/sun/star/chart2/XUndoSupplier.idl
+++ /dev/null
@@ -1,57 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef com_sun_star_chart2_XUndoSupplier_idl
-#define com_sun_star_chart2_XUndoSupplier_idl
-
-#include <com/sun/star/chart2/XUndoManager.idl>
-
-module com
-{
-module sun
-{
-module star
-{
-module chart2
-{
-
-/** An interface for providing an UndoManager based on frame::XModel
- objects.
- */
-interface XUndoSupplier : ::com::sun::star::uno::XInterface
-{
- /** @return an undo manager that allows doing undo and redo of a
- frame::XModel based object
- */
- XUndoManager getUndoManager();
-};
-
-} ; // chart2
-} ; // com
-} ; // sun
-} ; // star
-
-#endif
diff --git a/offapi/com/sun/star/chart2/makefile.mk b/offapi/com/sun/star/chart2/makefile.mk
index 2b2e87dbfbad..e646e2c74d74 100644
--- a/offapi/com/sun/star/chart2/makefile.mk
+++ b/offapi/com/sun/star/chart2/makefile.mk
@@ -101,8 +101,7 @@ IDLFILES= \
XTitle.idl \
XTitled.idl \
XTransformation.idl \
- XUndoManager.idl \
- XUndoSupplier.idl \
+ XDocumentActions.idl \
# --- Targets ------------------------------------------------------