cui: add a status indicator for the OLE insert dialog
commit0713d278f5bf232bad819dd46dc19d34ed807b12
authorMiklos Vajna <vmiklos@collabora.com>
Tue, 28 Sep 2021 15:54:27 +0000 (28 17:54 +0200)
committerMiklos Vajna <vmiklos@collabora.com>
Tue, 28 Sep 2021 17:45:40 +0000 (28 19:45 +0200)
treed09e510031e734d66be02820f675d9122f0a8a5d
parentd72511eda923c827a6175bec9b8f24c237f82730
cui: add a status indicator for the OLE insert dialog

Inserting a large file can take a while, and we do it on the main
thread, so the UI is frozen during the operation.

Create a statusbar and tell the user what's happening, even if the
underlying CreateObjectFromFile() and OleSave() functions don't report
their progress, so effectively this is more like a spinner than a
progressbar.

Change-Id: Ib5d90e214c556b43f170538fc152a9e27193773f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122781
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
cui/source/dialogs/insdlg.cxx