desktop/source/app/dispatchwatcher.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 4095f95ddd29f3c3509355b0509640804160348c
Author:     Mike Kaganski <[email protected]>
AuthorDate: Tue Dec 25 23:11:59 2018 +0100
Commit:     Mike Kaganski <[email protected]>
CommitDate: Wed Dec 26 00:07:22 2018 +0100

    Remove redundant ClearableMutexGuard::clear() call
    
    It's already called just before the condition check.
    
    Change-Id: I67e718a52476b334b8521ce129f4a21a8bf53797
    Reviewed-on: https://gerrit.libreoffice.org/65611
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/desktop/source/app/dispatchwatcher.cxx 
b/desktop/source/app/dispatchwatcher.cxx
index bc363d03ae5b..78ed9db13e44 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -818,7 +818,6 @@ bool DispatchWatcher::executeDispatchRequests( const 
std::vector<DispatchRequest
     if ( bEmpty && !bNoTerminate /*m_aRequestContainer.empty()*/ )
     {
         // We have to check if we have an open task otherwise we have to 
shutdown the office.
-        aGuard.clear();
         Reference< XElementAccess > xList( xDesktop->getFrames(), UNO_QUERY );
 
         if ( !xList->hasElements() )
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to