diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-04-15 11:37:51 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-04-18 12:19:55 +0200 |
commit | 3526b7c0db27cb8e333d30813b79982873aa4501 (patch) | |
tree | 45a6698375bb6d5e0be07faf25b466382bcb7f71 /editeng/source/editeng/editobj.cxx | |
parent | 796396c21cd398834a34395cfbe15ae1c7b7a845 (diff) |
LOK - Calc: Selecting cells to the left/top does not work properly
This patch fix a regression of commit
4b39183c5740067cc31c006214cb24b81ee0f98c "LOK - Calc: make computation
of cell cursor position faster"
The problem occurs when bAllowNeg is false.
At present should be safe, in the LOK case, to assume that
GetPosX(eWhichX) and GetPosY(eWhichX) are always 0.
In the end we could always find the screen position for the left-top
cell position and subtract it from the final screen position values.
Change-Id: I7d4bf24cb57757e7ac05fcde48ade9feec56aba7
Reviewed-on: https://gerrit.libreoffice.org/36562
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'editeng/source/editeng/editobj.cxx')
0 files changed, 0 insertions, 0 deletions