[Libreoffice-commits] core.git: sc/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Mar 12 23:52:12 PDT 2014


 sc/source/core/data/documen2.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit aa6fe2a0e62bdde897697c4e254d4256ff2accde
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Mar 13 07:49:05 2014 +0100

    -Werror=shadow
    
    Change-Id: I6160150950d981a01b49cfc4c740683c1fd89b8e

diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index c23ccc0..6363515 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<sal_uInt16>(nOldPos), static_cast<sal_uInt16>(nNewPos) );


More information about the Libreoffice-commits mailing list