summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-22 16:16:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-22 21:00:55 +0100
commit60dd4825ba8fbab211fbb31961ea11873406a280 (patch)
treecb7d021e293a6e7c6630149507c4147be130c2a3 /include
parentcb0dfff9a49530f348223e1df54762a3da61aa51 (diff)
tdf#140539 don't allow help to be relaunched during launch
its fine once it is launched to fire help again, just not during the launch itself via the yield-call done during html load that probably exists to let the progress bar redraw Change-Id: I42e0bf670023d91f70cb1de3fa0fda23e82d0678 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112921 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/sfxhelp.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx
index f07c2017287f..c71b643d162e 100644
--- a/include/sfx2/sfxhelp.hxx
+++ b/include/sfx2/sfxhelp.hxx
@@ -28,6 +28,7 @@
class SFX2_DLLPUBLIC SfxHelp final : public Help
{
bool bIsDebug;
+ bool bLaunchingHelp; // tdf#140539 don't allow help to be re-launched during help launch
private:
SAL_DLLPRIVATE static bool Start_Impl(const OUString& rURL, weld::Widget* pWidget, const OUString& rKeyword);