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

New commits:
commit f3cdb7804a26c5cf0623d9b83130594f83372768
Author: Markus Mohrhard <markus.mohrh...@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 <libreoff...@kohei.us>
    Tested-by: Kohei Yoshida <libreoff...@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);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to