summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2002-05-24 06:48:49 +0000
committerThomas Lange <tl@openoffice.org>2002-05-24 06:48:49 +0000
commit815d673408b8f0f67cb463d5b5ddaf3126c9f0f3 (patch)
tree02665006e11c50c9d515a489c4565f0feccb08e9 /starmath/source/edit.cxx
parent8960f57cdd3f8d404ba123d4b546bfcadf98429a (diff)
#98669# accessibility in Math
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)