desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4c5b693267fac35c83e59f3288a1d46b99f02eea Author: Mert Tumer <[email protected]> AuthorDate: Fri Oct 1 15:34:33 2021 +0300 Commit: Szymon Kłos <[email protected]> CommitDate: Fri Oct 15 07:24:31 2021 +0200 lok: Fix graphicselection INPLACE msg is filtered out INPLACE message is not at the beginning, search it instead Signed-off-by: Mert Tumer <[email protected]> Change-Id: I2a09ac5a664c1ff26790aa776d871ac34c3d99dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122919 Reviewed-by: Szymon Kłos <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123522 Tested-by: Jenkins 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; }
