summaryrefslogtreecommitdiff
path: root/starmath/source/action.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-03-08 08:17:59 +0000
committerThomas Lange <tl@openoffice.org>2001-03-08 08:17:59 +0000
commit69ed114e336d11908371d740466c2934c0198c81 (patch)
treeb7a1b0afa186bd0183e10acf8443ec1b3b584966 /starmath/source/action.cxx
parentb7d6c2e0356d0a19d9daebadaa9cb34335f9f746 (diff)
#82063# SmEditAction removed
Diffstat (limited to 'starmath/source/action.cxx')
-rw-r--r--starmath/source/action.cxx33
1 files changed, 2 insertions, 31 deletions
diff --git a/starmath/source/action.cxx b/starmath/source/action.cxx
index 15b052264e66..499f5680974a 100644
--- a/starmath/source/action.cxx
+++ b/starmath/source/action.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: action.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:57:26 $
+ * last change: $Author: tl $ $Date: 2001-03-08 09:17:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -66,35 +66,6 @@
#include "document.hxx"
#include "starmath.hrc"
-SmEditAction::SmEditAction(SmDocShell *pDocSh,
- const String& rOldText,
- const String& rNewText) :
- pDoc( pDocSh ),
- aOldText( rOldText ),
- aNewText( rNewText )
-{
-}
-
-void SmEditAction::Undo()
-{
- pDoc->SetText(aOldText);
-}
-
-void SmEditAction::Redo()
-{
- pDoc->SetText(aNewText);
-}
-
-void SmEditAction::Repeat(SmDocShell *pDocSh)
-{
- pDocSh->SetText(aNewText);
-}
-
-String SmEditAction::GetComment() const
-{
- return (SmResId(RID_UNDOEDITNAME));
-}
-
SmFormatAction::SmFormatAction(SmDocShell *pDocSh,
const SmFormat& rOldFormat,