summaryrefslogtreecommitdiff
path: root/sc/source/core/data/attarray.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/attarray.cxx')
-rw-r--r--sc/source/core/data/attarray.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx
index e166ea233c68..6cf487fb612b 100644
--- a/sc/source/core/data/attarray.cxx
+++ b/sc/source/core/data/attarray.cxx
@@ -483,21 +483,6 @@ void ScAttrArray::SetPatternArea(SCROW nStartRow, SCROW nEndRow, const ScPattern
#endif
}
-void ScAttrArray::SwapPattern( ScAttrArray& rArray2, SCROW nRow1, SCROW nRow2, const ScPatternAttr* pPattern1, const ScPatternAttr* pPattern2)
-{
- if(!VALIDROW(nRow1) || !VALIDROW(nRow2))
- return;
-
- SCSIZE nIndex1 = 0;
- SCSIZE nIndex2 = 0;
- Search(nRow1, nIndex1);
- rArray2.Search(nRow2, nIndex2);
- pData[nIndex1].pPattern = pPattern1;
- rArray2.pData[nIndex2].pPattern = pPattern2;
-
- if (pDocument->IsStreamValid(nTab))
- pDocument->SetStreamValid(nTab, false);
-}
void ScAttrArray::ApplyStyleArea( SCROW nStartRow, SCROW nEndRow, ScStyleSheet* pStyle )
{