svx/source/sidebar/area/AreaPropertyPanelBase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit bdd81c6848e21e4a8123e18f55dfdc63ae08eafe Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Mar 5 19:02:03 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Mar 6 11:48:15 2021 +0100 use weld::WaitObject Change-Id: I726429b1af2b27310153c069b350ee18c7dea47c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112033 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx index 5e210968b4a1..903c6701bb04 100644 --- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx @@ -219,9 +219,9 @@ IMPL_LINK_NOARG(AreaPropertyPanelBase, ClickImportBitmapHdl, weld::Button&, void return; Graphic aGraphic; - EnterWait(); + auto xWait = std::make_unique<weld::WaitObject>(m_xContainer.get()); ErrCode nError = aDlg.GetGraphic( aGraphic ); - LeaveWait(); + xWait.reset(); if( nError != ERRCODE_NONE ) return; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits