summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 1c69c8fbd899..a385a8f15b06 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edit.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: tl $ $Date: 2002-05-15 13:47:26 $
+ * last change: $Author: tl $ $Date: 2002-05-24 07:48:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -371,10 +371,7 @@ void SmEditWindow::Command(const CommandEvent& rCEvt)
PopupMenu* pPopupMenu = new PopupMenu(SmResId(RID_COMMANDMENU));
pPopupMenu->SetSelectHdl(LINK(this, SmEditWindow, MenuSelectHdl));
- Point aPos(5, 5);
- if (rCEvt.IsMouseEvent())
- aPos = rCEvt.GetMousePosPixel();
- pPopupMenu->Execute( this, aPos );
+ pPopupMenu->Execute( this, rCEvt.GetMousePosPixel() );
delete pPopupMenu;
}
else if (pEditView)