summaryrefslogtreecommitdiff
path: root/desktop/source/lib/init.cxx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-03-16 19:02:00 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-07-16 09:24:26 +0200
commit50984210273912b0a3445da8e311046cbb5d0644 (patch)
treea13e84ae68d5492b017f39401c8c7f1030ddd7a0 /desktop/source/lib/init.cxx
parent96af0c0b41276b76c85243f48fa48a5909696384 (diff)
jsdialog: optimization, use latest state, ignore previous
Change-Id: Id637accc4f006ae6206b4e87a44b30d1a8340723 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97849 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98827 Tested-by: Jenkins
Diffstat (limited to 'desktop/source/lib/init.cxx')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 665f4d56628f..4c8bb9981df6 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1491,6 +1491,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
case LOK_CALLBACK_TEXT_VIEW_SELECTION:
case LOK_CALLBACK_VIEW_CURSOR_VISIBLE:
case LOK_CALLBACK_CALC_FUNCTION_LIST:
+ case LOK_CALLBACK_JSDIALOG:
{
const int nViewId = lcl_getViewId(payload);
removeAll(