diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-09 21:37:01 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-09 21:37:01 +0100 |
commit | e0b421b88055b1f5b88beae60f011abf60820327 (patch) | |
tree | d0a33802f4db9cf5288ef28537434e631b69aa27 | |
parent | 885fefac73cd9ad23dcaffbbbc1eb57d6c6398e2 (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.
-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.idl | 57 | ||||
-rw-r--r-- | offapi/com/sun/star/chart2/makefile.mk | 3 |
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 4f291b2e3..49400c69f 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 f1d6a4866..000000000 --- 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 2b2e87dbf..e646e2c74 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 ------------------------------------------------------ |