diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-19 10:02:08 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-19 08:31:50 +0000 |
commit | 299b9377469473abd8f58ba7f1054794491bdc56 (patch) | |
tree | 1b5ba8d483552f1dce3ffb8b84f28fa9f9aba8c3 /include/sfx2/viewsh.hxx | |
parent | ae30c85f61557bad0ce3ddf2fc80c710d9e31f69 (diff) |
sfx2 lok: expose part number in SfxLokHelper::notifyOtherViews()
This way a client can decide if the view cursor it gets is relevant (the
views show the same part) or not.
Change-Id: I7b274b28f0c4f0509df5071831acf50512eff640
Reviewed-on: https://gerrit.libreoffice.org/27311
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/sfx2/viewsh.hxx')
-rw-r--r-- | include/sfx2/viewsh.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index fba08dfead2b..56888cad22fd 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -331,6 +331,8 @@ public: void setTiledSearching(bool bTiledSearching); /// Are we doing tiled searching? bool isTiledSearching() const; + /// See lok::Document::getPart(). + virtual int getPart() const; }; |