From 1e1eb87f36095acefe73579448ceef8442beba5f Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 2 Sep 2016 17:32:04 +0200 Subject: sd lok: implement SfxViewShell::NotifyCursor() API The same API is already implemented in sw and sc already, the sd implementation allows selecting a shape in one view, then creating a second view, and seeing the selection of the first view in the second view, without de-selecting and re-selecting the shape in question in the first view. Change-Id: Ia36e4772584d132f1ff6a7eb07ca4cadaa384ee9 Reviewed-on: https://gerrit.libreoffice.org/28623 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sd/source/ui/inc/ViewShellBase.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sd/source/ui/inc/ViewShellBase.hxx') diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx index f47a49a0a049..b2c5e47d5b0d 100644 --- a/sd/source/ui/inc/ViewShellBase.hxx +++ b/sd/source/ui/inc/ViewShellBase.hxx @@ -219,6 +219,8 @@ public: OUString RetrieveLabelFromCommand( const OUString& aCmdURL ) const; /// See SfxViewShell::getPart(). int getPart() const override; + /// See SfxViewShell::NotifyCursor(). + void NotifyCursor(SfxViewShell* pViewShell) const override; protected: -- cgit