diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2018-10-04 19:33:14 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2018-10-10 14:51:12 +0200 |
commit | d143e211b1416665d77cd1914dd7f6a6b0b4f72a (patch) | |
tree | b11c29a13754b5739da174dd4249bc1ae2bf616c /svx | |
parent | 2f792ac91fdaaea1df38e64833dd1c258bb41c03 (diff) |
clean up column pos vs column id
everywhere GetColumnAtXPosPixel is used;
see also tdf#119564 fix
Change-Id: Ibab57c7305bf4dce9ea9f3df66e6214b0d1585b2
Reviewed-on: https://gerrit.libreoffice.org/61390
Tested-by: Jenkins
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 9d56cc434cbe..79fa0339f7b3 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2754,7 +2754,7 @@ void DbGridControl::StartDrag( sal_Int8 /*nAction*/, const Point& rPosPixel ) if (!m_pSeekCursor || IsResizing()) return; - sal_uInt16 nColId = GetColumnAtXPosPixel(rPosPixel.X()); + sal_uInt16 nColId = GetColumnId(GetColumnAtXPosPixel(rPosPixel.X())); long nRow = GetRowAtYPosPixel(rPosPixel.Y()); if (nColId != HandleColumnId && nRow >= 0) { |