summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-01 19:27:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-12-02 09:52:29 +0100
commitea2aeb6917a04401f95bab7aac37f4d070e07128 (patch)
treecdedaebbce1016b84ead350750c070e04fec3ac1 /sfx2/source
parent1d8a32f15b0895dcdd33331768fda50dd69cf8fc (diff)
use weld::WaitObject
Change-Id: Ib2ad0f0fe17c4db66693ef91e3cdbc8511eb8314 Reviewed-on: https://gerrit.libreoffice.org/84166 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/appl/newhelp.cxx3
-rw-r--r--sfx2/source/doc/new.cxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index f5689b3c3584..261393529435 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -98,7 +98,6 @@
#include <vcl/weld.hxx>
#include <ucbhelper/content.hxx>
-#include <vcl/waitobj.hxx>
#include <unotools/ucbhelper.hxx>
#include <sfx2/viewfrm.hxx>
@@ -581,7 +580,7 @@ namespace sfx2 {
void IndexTabPage_Impl::InitializeIndex()
{
- WaitObject aWaitCursor( this );
+ weld::WaitObject aWaitCursor(GetFrameWeld());
// By now more than 256 equal entries are not allowed
sal_Unicode append[256];
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index ecebd52c1ed7..4223ce2d012c 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -37,7 +37,6 @@
#include <preview.hxx>
#include <sfx2/printer.hxx>
#include <unotools/viewoptions.hxx>
-#include <vcl/waitobj.hxx>
void SfxPreviewWin_Impl::SetObjectShell(SfxObjectShell const * pObj)
{