summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-09-30 17:51:26 +0200
committerJan Holesovsky <kendy@collabora.com>2017-10-03 14:14:07 +0200
commitc7d2de2905d53d12b186f577260fd95460f4eea5 (patch)
tree8d82f9bfa9742546668b0ce43dc611abd67becb0 /include
parentb8ad0fc55baa69724e90dc3bb7d96fbd7149b163 (diff)
lok: temporary workaround: disable formula mode for online
- Start empty spreadsheet, open it with two users (let's call them A & B). - Type "=" with user A. - Start moving around to different cells with user B. => Cell name of user B's selected cell is entered in user A's formula. This is due to the fact that ScModel::GetInputHandler() returns always the input handler which is handling the edited formula and not the input handler of the current view. That really messes up collaborative editing, so better to disable it, until we implement an alternative solution. Change-Id: I6e779cba3f377d12b7a4a19a6ee53c924fc9ba20 Reviewed-on: https://gerrit.libreoffice.org/43036 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/viewsh.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index 073b9c9259e2..1bcb64f05c7c 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -170,6 +170,7 @@ protected:
public:
// Iteration
+ static size_t GetActiveShells( bool bOnlyVisible = true );
static SfxViewShell* GetFirst( bool bOnlyVisible = true, const std::function<bool ( const SfxViewShell* )>& isViewShell = nullptr );
static SfxViewShell* GetNext( const SfxViewShell& rPrev,
bool bOnlyVisible = true,