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

Markus Mohrhard markus.mohrhard at googlemail.com
Thu Sep 11 05:56:17 PDT 2014


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

New commits:
commit f3cdb7804a26c5cf0623d9b83130594f83372768
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Sep 7 13:43:33 2014 +0200

    fix copy&paste of conditional format between sheets
    
    Change-Id: I8856bff376f0f6e366062eddbc68a9eee098be5b
    Reviewed-on: https://gerrit.libreoffice.org/11327
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>

diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index daba57b..98cb68f 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -907,10 +907,6 @@ bool ScDocument::CopyTab( SCTAB nOldPos, SCTAB nNewPos, const ScMarkData* pOnlyM
         maTabs[nOldPos]->StartAllListeners();
         maTabs[nNewPos]->StartAllListeners();
 
-        ScConditionalFormatList* pNewList = new ScConditionalFormatList(*maTabs[nOldPos]->GetCondFormList());
-        pNewList->UpdateReference(aRefCxt);
-        maTabs[nNewPos]->SetCondFormList( pNewList );
-
         sc::SetFormulaDirtyContext aFormulaDirtyCxt;
         SetAllFormulasDirty(aFormulaDirtyCxt);
 


More information about the Libreoffice-commits mailing list