From aa6fe2a0e62bdde897697c4e254d4256ff2accde Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 13 Mar 2014 07:49:05 +0100 Subject: [PATCH] -Werror=shadow Change-Id: I6160150950d981a01b49cfc4c740683c1fd89b8e --- sc/source/core/data/documen2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index c23ccc0c9550..63635157809a 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -900,8 +900,8 @@ bool ScDocument::CopyTab( SCTAB nOldPos, SCTAB nNewPos, const ScMarkData* pOnlyM pNewList->UpdateReference(aRefCxt); maTabs[nNewPos]->SetCondFormList( pNewList ); - sc::SetFormulaDirtyContext aCxt; - SetAllFormulasDirty(aCxt); + sc::SetFormulaDirtyContext aFormulaDirtyCxt; + SetAllFormulasDirty(aFormulaDirtyCxt); if (pDrawLayer) DrawCopyPage( static_cast(nOldPos), static_cast(nNewPos) );