diff options
author | Mert Tumer <mert.tumer@collabora.com> | 2021-10-01 15:34:33 +0300 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-10-15 07:24:31 +0200 |
commit | 4c5b693267fac35c83e59f3288a1d46b99f02eea (patch) | |
tree | 6896db26b78106f6090c916365946d631efafb69 /desktop/source | |
parent | addf0b2abb9b78429b7b55f9463899a8ec21bf85 (diff) |
lok: Fix graphicselection INPLACE msg is filtered out
INPLACE message is not at the beginning,
search it instead
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I2a09ac5a664c1ff26790aa776d871ac34c3d99dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122919
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123522
Tested-by: Jenkins
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 8156b3b2b40f..1d9c482c8f14 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1667,7 +1667,7 @@ void CallbackFlushHandler::queue(const int type, const char* data) // remove only selection ranges and 'EMPTY' messages // always send 'INPLACE' and 'INPLACE EXIT' messages removeAll(type, [payload] (const CallbackData& elemData) - { return (elemData.PayloadString[0] != 'I'); }); + { return (elemData.PayloadString.find("INPLACE") == std::string::npos); }); } break; } |