summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/source/extended/accessiblelistboxentry.cxx2
-rw-r--r--sc/source/core/data/column.cxx2
-rw-r--r--sc/source/core/data/formulacell.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index 9abe4c779ff4..12af82ab3e8c 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -232,7 +232,7 @@ namespace accessibility
void SAL_CALL AccessibleListBoxEntry::disposing()
{
- SolarMutexGuard();
+ SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
Reference< XAccessible > xKeepAlive( this );
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 6389b1c63955..80a0d7944e12 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -2173,7 +2173,7 @@ class UpdateRefOnNonCopy : public std::unary_function<sc::FormulaGroupEntry, voi
if (aRes.mbReferenceModified || aRes.mbNameModified || bRecalcOnMove)
{
- sc::AutoCalcSwitch(mpCxt->mrDoc, false);
+ sc::AutoCalcSwitch aACSwitch(mpCxt->mrDoc, false);
if (aRes.mbNameModified)
recompileTokenArray(*pTop);
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index fefde27b1269..ec4ed8ad9757 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -3225,7 +3225,7 @@ bool ScFormulaCell::UpdateReferenceOnMove(
if (bNeedDirty)
{ // Cut off references, invalid or similar?
- sc::AutoCalcSwitch(*pDocument, false);
+ sc::AutoCalcSwitch aACSwitch(*pDocument, false);
SetDirty();
}
@@ -3285,7 +3285,7 @@ bool ScFormulaCell::UpdateReferenceOnCopy(
if (bNeedDirty)
{ // Cut off references, invalid or similar?
- sc::AutoCalcSwitch(*pDocument, false);
+ sc::AutoCalcSwitch aACSwitch(*pDocument, false);
SetDirty();
}