summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-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)
{