summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-07 13:43:33 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-07 19:36:07 +0200
commit4fc788312b52678f9d4b658bf235091c55241337 (patch)
treed4a0f7a8fb0b6cabc20f89ace6833a6ed2c3e031 /sc
parentf0b0c7a23f2d36437d845b7f53defe25dfe8cef0 (diff)
fix copy&paste of conditional format between sheets
Change-Id: I8856bff376f0f6e366062eddbc68a9eee098be5b
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/documen2.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 16009d24e10a..c16b059671e8 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -898,10 +898,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);