[Libreoffice-commits] core.git: starmath/source

Takeshi Abe tabe at fixedpoint.jp
Fri Mar 11 12:22:49 UTC 2016


 starmath/source/dialog.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e7e1d50fc0c8077be9d9603eab8ef86098c9aa24
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Mar 11 19:50:59 2016 +0900

    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 at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 9dbf293..5e81954 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;


More information about the Libreoffice-commits mailing list