diff options
author | Jan Holesovsky <kendy@collabora.com> | 2020-05-07 15:47:49 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-05-27 22:37:52 +0100 |
commit | a30bb3a439a3d54e372ce3b8a22598e01d3a17b6 (patch) | |
tree | 36bd5c2c51b49c8ad3cb8f2f4f684575868a4cc9 /include/vcl/ITiledRenderable.hxx | |
parent | 2437a0907089a1937ec74a8b232867183d830c28 (diff) |
formula bar: Change completeFunction() to accept string instead of index.private/mmeeks/cp64merge
The 'index' is unsafe, because the set it tries to index can change in
the meantime. Instead, use the function name and search for it in the
set, to get the recent index.
Change-Id: Id2a021c32f421057c87b6f7f4fffcc1c98009acb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93666
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93910
Tested-by: Jenkins
Diffstat (limited to 'include/vcl/ITiledRenderable.hxx')
-rw-r--r-- | include/vcl/ITiledRenderable.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx index 5bd83d5ef2d4..833f76c0dcde 100644 --- a/include/vcl/ITiledRenderable.hxx +++ b/include/vcl/ITiledRenderable.hxx @@ -287,7 +287,7 @@ public: virtual void moveSelectedParts(int /*nPosition*/, bool /*bDuplicate*/) {} /// @see lok::Document::completeFunction(). - virtual void completeFunction(int /*nIndex*/) + virtual void completeFunction(const OUString& /*rFunctionName*/) { } |