clang-tidy misc-unused-raii
Change-Id: Id97291511efbaa304f25da3ae5700604b574d165 Reviewed-on: https://gerrit.libreoffice.org/25027 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
This commit is contained in:
committed by
Eike Rathke
parent
874431bcd1
commit
a656be64e2
@@ -232,7 +232,7 @@ namespace accessibility
|
||||
|
||||
void SAL_CALL AccessibleListBoxEntry::disposing()
|
||||
{
|
||||
SolarMutexGuard();
|
||||
SolarMutexGuard aSolarGuard;
|
||||
::osl::MutexGuard aGuard( m_aMutex );
|
||||
|
||||
Reference< XAccessible > xKeepAlive( this );
|
||||
|
@@ -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);
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user