summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/hhcwrp.hxx3
-rw-r--r--sw/source/uibase/lingu/hhcwrp.cxx4
2 files changed, 1 insertions, 6 deletions
diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx
index accde1e11ba9..f565401d830c 100644
--- a/sw/inc/hhcwrp.hxx
+++ b/sw/inc/hhcwrp.hxx
@@ -21,8 +21,6 @@
#include <editeng/hangulhanja.hxx>
#include <editeng/svxenum.hxx>
-#include <vcl/vclptr.hxx>
-#include <vcl/window.hxx>
#include "swdllapi.h"
class SwView;
@@ -33,7 +31,6 @@ class SwPaM;
class SW_DLLPUBLIC SwHHCWrapper final : public editeng::HangulHanjaConversion
{
SwView * m_pView;
- VclPtr<vcl::Window> m_pWin;
SwWrtShell &m_rWrtShell;
std::unique_ptr<SwConversionArgs> m_pConvArgs; /**< object for arguments (and results) needed
diff --git a/sw/source/uibase/lingu/hhcwrp.cxx b/sw/source/uibase/lingu/hhcwrp.cxx
index 03b36d197b65..7e78777fef51 100644
--- a/sw/source/uibase/lingu/hhcwrp.cxx
+++ b/sw/source/uibase/lingu/hhcwrp.cxx
@@ -93,7 +93,6 @@ SwHHCWrapper::SwHHCWrapper(
nConvOptions,
bIsInteractive )
, m_pView( pSwView )
- , m_pWin( &pSwView->GetEditWin() )
, m_rWrtShell( pSwView->GetWrtShell() )
, m_nLastPos( 0 )
, m_nUnitOffset( 0 )
@@ -648,7 +647,7 @@ void SwHHCWrapper::FindConvText_impl()
bool bFound = false;
- m_pWin->EnterWait();
+ weld::WaitObject aWait(GetUIParent());
bool bConv = true;
while ( bConv )
@@ -664,7 +663,6 @@ void SwHHCWrapper::FindConvText_impl()
bConv = ConvNext_impl();
}
}
- m_pWin->LeaveWait();
}
void SwHHCWrapper::ConvStart_impl( SwConversionArgs /* [out] */ *pConversionArgs, SvxSpellArea eArea )