summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-08-09 12:39:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-08-09 14:44:45 +0200
commit83e99babaa4ae7d5479912bbda9bcd653ab0ccb3 (patch)
tree87a692a29311562a0d49661a784084b74746a9f7 /include
parentc060e063467555b69c55ba214b400bfc68c67c3e (diff)
Resolves: tdf#126790 use TopLevelWindowLocker in welded help path
Change-Id: I4340d021b63609189d3179a7bcff7fac4fcef69d Reviewed-on: https://gerrit.libreoffice.org/77195 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/waitobj.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/waitobj.hxx b/include/vcl/waitobj.hxx
index a136a73b455a..682153a1e892 100644
--- a/include/vcl/waitobj.hxx
+++ b/include/vcl/waitobj.hxx
@@ -26,7 +26,7 @@
#include <stack>
#include <vector>
-namespace weld { class Window; }
+namespace weld { class Widget; }
class VCL_DLLPUBLIC WaitObject
{
@@ -48,7 +48,7 @@ private:
std::stack<std::vector<VclPtr<vcl::Window>>> m_aBusyStack;
public:
// lock all toplevels, except the argument
- void incBusy(const weld::Window* pIgnore);
+ void incBusy(const weld::Widget* pIgnore);
// unlock previous lock
void decBusy();
bool isBusy() const { return !m_aBusyStack.empty(); }