[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Miklos Vajna vmiklos at collabora.co.uk
Fri Mar 14 21:32:01 CET 2014


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

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

    -Werror=shadow
    
    Change-Id: I6160150950d981a01b49cfc4c740683c1fd89b8e
    (cherry picked from commit aa6fe2a0e62bdde897697c4e254d4256ff2accde)
    Signed-off-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 87e7510..1a57cc8 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -916,8 +916,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