summaryrefslogtreecommitdiff
path: root/starmath/source/action.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-25 11:11:28 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-25 11:11:28 +0000
commit0abc0c88872bc96c00f6a8f82826cc8844b842d4 (patch)
tree9853257c1a13199e6717f53ed4c7091cbfe0ed54 /starmath/source/action.cxx
parent4dc516d8fbdf5b5dcbc3e9959f3dc2e4ae5a8a5a (diff)
INTEGRATION: CWS tl32 (1.4.20); FILE MERGED
2006/10/30 10:35:10 tl 1.4.20.1: #i69286# make starmath warning-free
Diffstat (limited to 'starmath/source/action.cxx')
-rw-r--r--starmath/source/action.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/action.cxx b/starmath/source/action.cxx
index df683b2f69b4..409f6fd70496 100644
--- a/starmath/source/action.cxx
+++ b/starmath/source/action.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: action.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 07:51:16 $
+ * last change: $Author: vg $ $Date: 2007-05-25 12:11:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -62,12 +62,12 @@ void SmFormatAction::Redo()
pDoc->SetFormat(aNewFormat);
}
-void SmFormatAction::Repeat(SmDocShell *pDocSh)
+void SmFormatAction::Repeat(SfxRepeatTarget& rDocSh)
{
- pDocSh->SetFormat(aNewFormat);
+ dynamic_cast< SmDocShell & >(rDocSh).SetFormat(aNewFormat);
}
-String SmFormatAction::GetComment() const
+UniString SmFormatAction::GetComment() const
{
return (SmResId(RID_UNDOFORMATNAME));
}