summaryrefslogtreecommitdiff
path: root/desktop/source/app
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-25 23:11:59 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-26 00:07:22 +0100
commit4095f95ddd29f3c3509355b0509640804160348c (patch)
tree588a68981abc8103505c9655c9ff0eae1be792cd /desktop/source/app
parentb1491ff14a22639775dd8b8ca130258a1b95421b (diff)
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@collabora.com>
Diffstat (limited to 'desktop/source/app')
-rw-r--r--desktop/source/app/dispatchwatcher.cxx1
1 files changed, 0 insertions, 1 deletions
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() )