From 0abc0c88872bc96c00f6a8f82826cc8844b842d4 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Fri, 25 May 2007 11:11:28 +0000 Subject: [PATCH] INTEGRATION: CWS tl32 (1.4.20); FILE MERGED 2006/10/30 10:35:10 tl 1.4.20.1: #i69286# make starmath warning-free --- starmath/source/action.cxx | 10 +++++----- 1 file 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)); }