[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Mar 6 10:49:05 UTC 2021


 svx/source/sidebar/area/AreaPropertyPanelBase.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bdd81c6848e21e4a8123e18f55dfdc63ae08eafe
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Mar 5 19:02:03 2021 +0000
Commit:     Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at 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;
 


More information about the Libreoffice-commits mailing list