summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column4.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-04-17 21:14:04 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-04-23 21:08:20 -0400
commit210507039bc768aa1cf7013a31700b524d90aef7 (patch)
tree1062e1c2e97c70aeab6e1ec7ca4de196a19dce4e /sc/source/core/data/column4.cxx
parent97c0f88afc47b01fd5bf5a47ae92c9674e518fe1 (diff)
Have CellValues handle text attribute values as well.
To ensure that the cell and cell text attribute storage stay in sync at all times. Change-Id: I5ea3fb7601f42f22af30f4f2d96d9d5e481e0853
Diffstat (limited to 'sc/source/core/data/column4.cxx')
-rw-r--r--sc/source/core/data/column4.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/core/data/column4.cxx b/sc/source/core/data/column4.cxx
index ec938d88aeb4..37a082ed04ba 100644
--- a/sc/source/core/data/column4.cxx
+++ b/sc/source/core/data/column4.cxx
@@ -279,9 +279,6 @@ void ScColumn::TransferCellValuesTo( SCROW nRow, size_t nLen, sc::CellValues& rD
rDest.transferFrom(*this, nRow, nLen);
- std::vector<sc::CellTextAttr> aDefaults(nLen);
- maCellTextAttrs.set(nRow, aDefaults.begin(), aDefaults.end());
-
CellStorageModified();
std::vector<SCROW> aRows;
@@ -307,9 +304,6 @@ void ScColumn::CopyCellValuesFrom( SCROW nRow, const sc::CellValues& rSrc )
rSrc.copyTo(*this, nRow);
- std::vector<sc::CellTextAttr> aDefaults(rSrc.size());
- maCellTextAttrs.set(nRow, aDefaults.begin(), aDefaults.end());
-
CellStorageModified();
std::vector<SCROW> aRows;