summaryrefslogtreecommitdiff
path: root/framework/source/helper/statusindicatorfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/helper/statusindicatorfactory.cxx')
-rw-r--r--framework/source/helper/statusindicatorfactory.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx
index 1669bfea5068..b4b17c1617e4 100644
--- a/framework/source/helper/statusindicatorfactory.cxx
+++ b/framework/source/helper/statusindicatorfactory.cxx
@@ -492,10 +492,11 @@ void StatusIndicatorFactory::impl_hideProgress()
void StatusIndicatorFactory::impl_reschedule(bool bForce)
{
// SAFE ->
- osl::ClearableMutexGuard aReadLock(m_mutex);
- if (m_bDisableReschedule)
- return;
- aReadLock.clear();
+ {
+ osl::MutexGuard aReadLock(m_mutex);
+ if (m_bDisableReschedule)
+ return;
+ }
// <- SAFE
bool bReschedule = bForce;