summaryrefslogtreecommitdiffstats
path: root/framework/source/services/autorecovery.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/services/autorecovery.cxx')
-rw-r--r--framework/source/services/autorecovery.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 3a9fdfdb546a..78237387d428 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -1154,10 +1154,7 @@ void CacheLockGuard::lock(bool bLockForAddRemoveVectorItems)
// operation. On the other side a crash reasoned by an invalid stl iterator
// will have the same effect .-)
- if (
- (m_rCacheLock > 0 ) &&
- (bLockForAddRemoveVectorItems)
- )
+ if ( (m_rCacheLock > 0) && bLockForAddRemoveVectorItems )
{
OSL_FAIL("Re-entrance problem detected. Using of an stl structure in combination with iteration, adding, removing of elements etcpp.");
throw css::uno::RuntimeException(
@@ -1483,10 +1480,7 @@ void AutoRecovery::implts_dispatch(const DispatchParams& aParams)
/* SAFE */ {
osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex);
m_eJob = E_NO_JOB;
- if (
- (bAllowAutoSaveReactivation) &&
- (bWasAutoSaveActive )
- )
+ if ( bAllowAutoSaveReactivation && bWasAutoSaveActive )
{
m_eJob |= AutoRecovery::E_AUTO_SAVE;