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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 25 23:07:44 UTC 2018


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

New commits:
commit 4095f95ddd29f3c3509355b0509640804160348c
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Tue Dec 25 23:11:59 2018 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
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 <mike.kaganski at collabora.com>

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() )


More information about the Libreoffice-commits mailing list