From cb715a83d5b890b779e5600a5eeded22d780e6f3 Mon Sep 17 00:00:00 2001 From: jp Date: Fri, 12 Oct 2001 14:57:24 +0000 Subject: Task #93129#: use also the new Undo-/Red controler --- starmath/source/smdll.cxx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'starmath/source/smdll.cxx') diff --git a/starmath/source/smdll.cxx b/starmath/source/smdll.cxx index 567dc9ad2aa1..2788115c0386 100644 --- a/starmath/source/smdll.cxx +++ b/starmath/source/smdll.cxx @@ -2,9 +2,9 @@ * * $RCSfile: smdll.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: tl $ $Date: 2001-05-30 07:52:27 $ + * last change: $Author: jp $ $Date: 2001-10-12 15:54:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -76,21 +76,25 @@ #ifndef _SFX_OBJFAC_HXX #include #endif +#ifndef _SVX_LBOXCTRL_HXX_ +#include +#endif #ifndef _SMDLL_HXX -#include "smdll.hxx" +#include #endif #ifndef DOCUMENT_HXX -#include "document.hxx" +#include #endif #ifndef TOOLBOX_HXX -#include "toolbox.hxx" +#include #endif #ifndef VIEW_HXX -#include "view.hxx" +#include #endif + #ifndef _STARMATH_HRC -#include "starmath.hrc" +#include #endif BOOL SmDLL::bInitialized = FALSE; @@ -144,6 +148,8 @@ void SmDLL::Init() SvxZoomStatusBarControl::RegisterControl( SID_ATTR_ZOOM, pp ); SvxModifyControl::RegisterControl( SID_TEXTSTATUS, pp ); + SvxUndoRedoControl::RegisterControl( SID_UNDO, pp ); + SvxUndoRedoControl::RegisterControl( SID_REDO, pp ); SmToolBoxWrapper::RegisterChildWindow(TRUE); SmCmdBoxWrapper::RegisterChildWindow(TRUE); -- cgit