summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-03-11 19:50:59 +0900
committerCaolán McNamara <caolanm@redhat.com>2016-03-11 12:22:26 +0000
commite7e1d50fc0c8077be9d9603eab8ef86098c9aa24 (patch)
tree97414d9332d8794794b976bc7d7a8ba09c5004d3
parent9048e7f58763cf87460a25cba374741352ceb98b (diff)
Resolves tdf#88485: Allow to select rightmost symbols in the dialog
by adjusting target area with proper offsets. Change-Id: I66100c898354909623991c3af3e78287d6f5a9a0 Reviewed-on: https://gerrit.libreoffice.org/23147 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 9dbf2932f903..5e81954bf641 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1186,6 +1186,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;