diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-28 20:27:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-29 13:52:55 +0200 |
commit | a57ec3ca97b587c76dc082b75532cc62d423cc8d (patch) | |
tree | 755697d219d8da567b9cdd3bd4a883837b3befbb /sw/source/uibase/lingu/hhcwrp.cxx | |
parent | 3e35fb78ac577d6bca9a05276f50ab98a8b6425f (diff) |
use the parent as available from HangulHanjaConversion
Change-Id: I9b8e34f4358620f2bc3c510ea3d581be8f87bb97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119648
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/lingu/hhcwrp.cxx')
-rw-r--r-- | sw/source/uibase/lingu/hhcwrp.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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 ) |