From 3aed864e7a2f7024fd81ba81bdc6182848320e0e Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 26 Mar 2015 11:18:35 +0100 Subject: Make SetCellSelection work in pixels, and change the name accordingly. Change-Id: Ic08f436b8196f29bb958845505a517cebba09f4b --- sc/source/ui/inc/gridwin.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/source/ui/inc/gridwin.hxx') diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 3cf3e360b7b4..3d4f90fe5451 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -331,9 +331,9 @@ public: void LogicMouseButtonUp(const MouseEvent& rMouseEvent); /// Update the cell selection according to what handles have been dragged. - /// Uses the same parameteres as vcl::ITiledRenderable::setTextSelection() - /// (ie. they are in twips here). - void SetCellSelection(int nType, int nX, int nY); + /// @see vcl::ITiledRenderable::setTextSelection() for the values of nType. + /// Coordinates are in pixels. + void SetCellSelectionPixel(int nType, int nPixelX, int nPixelY); virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; -- cgit