summaryrefslogtreecommitdiffstats
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index e0431796750c..6a97fba67d6d 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1185,6 +1185,8 @@ void SmShowSymbolSetWindow::MouseButtonDown(const MouseEvent& rMEvt)
GrabFocus();
Size aOutputSize(nColumns * nLen, nRows * nLen);
+ aOutputSize.Width() += nXOffset;
+ aOutputSize.Height() += nYOffset;
Point aPoint(rMEvt.GetPosPixel());
aPoint.X() -= nXOffset;
aPoint.Y() -= nYOffset;