diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-03-26 11:18:35 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-30 09:23:51 +0200 |
commit | 3aed864e7a2f7024fd81ba81bdc6182848320e0e (patch) | |
tree | 35b3632c210723e711efef212df36563921d2e53 /sc/source/ui/inc/gridwin.hxx | |
parent | 16d8839c24be1a9539f3d6e0157c5279e92cd37e (diff) |
Make SetCellSelection work in pixels, and change the name accordingly.
Change-Id: Ic08f436b8196f29bb958845505a517cebba09f4b
Diffstat (limited to 'sc/source/ui/inc/gridwin.hxx')
-rw-r--r-- | sc/source/ui/inc/gridwin.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; |