summaryrefslogtreecommitdiff
path: root/sfx2/source/view/viewsh.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-07-19 10:02:08 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-07-19 08:31:50 +0000
commit299b9377469473abd8f58ba7f1054794491bdc56 (patch)
tree1b5ba8d483552f1dce3ffb8b84f28fa9f9aba8c3 /sfx2/source/view/viewsh.cxx
parentae30c85f61557bad0ce3ddf2fc80c710d9e31f69 (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 'sfx2/source/view/viewsh.cxx')
-rw-r--r--sfx2/source/view/viewsh.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index d003d8842cc8..1bac0ac5d141 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1496,6 +1496,11 @@ bool SfxViewShell::isTiledSearching() const
return pImpl->m_bTiledSearching;
}
+int SfxViewShell::getPart() const
+{
+ return 0;
+}
+
bool SfxViewShell::KeyInput( const KeyEvent &rKeyEvent )
/* [Description]