accessibility/source/extended/accessiblelistboxentry.cxx | 2 +- sc/source/core/data/column.cxx | 2 +- sc/source/core/data/formulacell.cxx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit a656be64e21fd0ec5e12d34a47e2daf777e04b9b Author: Noel Grandin <n...@peralex.com> Date: Mon May 16 08:44:45 2016 +0200 clang-tidy misc-unused-raii Change-Id: Id97291511efbaa304f25da3ae5700604b574d165 Reviewed-on: https://gerrit.libreoffice.org/25027 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index 9abe4c7..12af82a 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 6389b1c..80a0d79 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 fefde27..ec4ed8a 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(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits