diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-01 09:11:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-01 09:07:48 +0000 |
commit | fcf417a77369853195d6727b2db8df290663256e (patch) | |
tree | 9905acc11d39f87e75833eb1b5ed0873b6bb14bf /sc/source/ui/inc/gridwin.hxx | |
parent | b8ee524330d924456931ad602eb4701b55a2aa85 (diff) |
sc lok: implement SfxViewShell::NotifyCursor() API
This way a new Calc view gets the cell cursors of existing views even if
they don't move after registering the LOK callback in the new view.
Change-Id: I5babc9921d37217ac199d4c19ed33cbb9620d119
Reviewed-on: https://gerrit.libreoffice.org/28581
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sc/source/ui/inc/gridwin.hxx')
-rw-r--r-- | sc/source/ui/inc/gridwin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 161f159f4290..7f311dca5228 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -285,7 +285,6 @@ class ScGridWindow : public vcl::Window, public DropTargetHelper, public DragSou void GetSelectionRects( ::std::vector< Rectangle >& rPixelRects ); - void updateLibreOfficeKitCellCursor(); protected: virtual void PrePaint(vcl::RenderContext& rRenderContext) override; virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; @@ -426,11 +425,12 @@ public: /// @see ScModelObj::getCellCursor(). OString getCellCursor(const Fraction& rZoomX, - const Fraction& rZoomY); + const Fraction& rZoomY) const; OString getCellCursor(int nOutputWidth, int nOutputHeight, long nTileWidth, long nTileHeight); + void updateLibreOfficeKitCellCursor(SfxViewShell* pOtherShell) const; ScViewData* getViewData(); virtual FactoryFunction GetUITestFactory() const override; |