summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-07 13:43:33 +0200
committerAndras Timar <andras.timar@collabora.com>2014-09-09 14:33:35 +0200
commit5ec1c2ab3590ffae6f7c63d538c3da33e822be5b (patch)
tree971b71cb967461a1b32fd6be2cc7d553ec0b8151 /sc
parent8d3c6cd85813530dd6b8dffbd2a6dd07c3355f6a (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 f77452c6903c..94b61df09b82 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -914,10 +914,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);