diff options
author | Thomas Lange <tl@openoffice.org> | 2002-01-21 10:16:11 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2002-01-21 10:16:11 +0000 |
commit | 2111a40668ed28c45a304f9682de30569a633a64 (patch) | |
tree | f9e4d76b7876154444f03dfc5960dac5f87f6791 /starmath/source/toolbox.cxx | |
parent | b63b34d563c250b997d8ac354dda817b99647b1d (diff) |
#96352# assertion fixed by removing the ShowWindows functions and calling Show in the constructor of SmEditWindow.
Diffstat (limited to 'starmath/source/toolbox.cxx')
-rw-r--r-- | starmath/source/toolbox.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx index aa281f243182..219a872c4fe5 100644 --- a/starmath/source/toolbox.cxx +++ b/starmath/source/toolbox.cxx @@ -2,9 +2,9 @@ * * $RCSfile: toolbox.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mba $ $Date: 2001-06-11 08:55:14 $ + * last change: $Author: tl $ $Date: 2002-01-21 11:16:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -249,12 +249,6 @@ IMPL_LINK_INLINE_START( SmToolBoxWindow, CmdSelectHdl, ToolBox*, pToolBox) IMPL_LINK_INLINE_END( SmToolBoxWindow, CmdSelectHdl, ToolBox*, pToolBox) -void SmToolBoxWindow::ShowWindows() -{ - if ( SM_MOD1()->GetConfig()->IsToolboxVisible() ) - Show(); -} - /**************************************************************************/ SFX_IMPL_FLOATINGWINDOW(SmToolBoxWrapper, SID_TOOLBOXWINDOW); @@ -266,9 +260,6 @@ SmToolBoxWrapper::SmToolBoxWrapper(Window *pParentWindow, { eChildAlignment = SFX_ALIGN_NOALIGNMENT; pWindow = new SmToolBoxWindow(pBindings, this, pParentWindow); - - ((SmToolBoxWindow *)pWindow)->ShowWindows(); - } |