summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign
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 /dbaccess/source/ui/relationdesign
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 'dbaccess/source/ui/relationdesign')
-rw-r--r--dbaccess/source/ui/relationdesign/RelationController.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx
index e3ec54717b89..530598ad09f5 100644
--- a/dbaccess/source/ui/relationdesign/RelationController.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationController.cxx
@@ -63,7 +63,6 @@
#include <RelationDesignView.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
-#include <vcl/waitobj.hxx>
#include <osl/thread.hxx>
#include <osl/mutex.hxx>
@@ -477,12 +476,12 @@ IMPL_LINK_NOARG( ORelationController, OnThreadFinished, void*, void )
{
DBG_UNHANDLED_EXCEPTION("dbaccess");
}
- m_pWaitObject.reset();
+ m_xWaitObject.reset();
}
void ORelationController::loadData()
{
- m_pWaitObject.reset( new WaitObject(getView()) );
+ m_xWaitObject.reset(new weld::WaitObject(getFrameWeld()));
try
{
if ( !m_xTables.is() )