framework/source/dispatch/popupmenudispatcher.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 03b476c0da596545bd9b99cc744a5fb56bfb797a
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri Nov 5 10:12:14 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Nov 5 10:40:43 2021 +0100

    [-Werror=nonnull] ‘this’ pointer is null
    
    gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
    is now complaining about a double-unlock
    
    Which has been there ever since
        commit fb6c93aed8d3d7468e4c9b412e432633c36e68fc
        Date:   Wed Dec 13 14:05:51 2006 +0000
        INTEGRATION: CWS fwk54 (1.1.2); FILE ADDED
        2006/11/10 12:54:27 cd 1.1.2.1: #i65187# Protocol handler for
    vnd.sun.star.popup URLs to support dispatch by popup menu controller
    
    Change-Id: I87206bb7313b69babb16859808868ffa00707faa
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124731
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/framework/source/dispatch/popupmenudispatcher.cxx 
b/framework/source/dispatch/popupmenudispatcher.cxx
index 154b9df688b4..a79ffe35e6b8 100644
--- a/framework/source/dispatch/popupmenudispatcher.cxx
+++ b/framework/source/dispatch/popupmenudispatcher.cxx
@@ -136,7 +136,6 @@ SAL_CALL PopupMenuDispatcher::queryDispatch(
 
                 // Find popup menu controller using the base URL
                 xPopupCtrlQuery->getByName( aBaseURL ) >>= xDispatchProvider;
-                aGuard.clear();
 
                 // Ask popup menu dispatch provider for dispatch object
                 if ( xDispatchProvider.is() )

Reply via email to