diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-12 16:49:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-13 07:04:49 +0100 |
commit | afad9ccb381a02b90654a5fa302480e46f38a1fc (patch) | |
tree | 805e39b189c25d8dbd8ab932baca0fc0d7482d06 /sc/source/core/data/column.cxx | |
parent | d755b2d4a3340f42a90d15d4795cc947a0b18e4a (diff) |
sc: rowcol: tdf#50916 pass ScDocument* around in data/
Change-Id: Ifa99d1c8d593e2a5dd81a3aaf4cd702d3ba96b89
Reviewed-on: https://gerrit.libreoffice.org/85060
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/column.cxx')
-rw-r--r-- | sc/source/core/data/column.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 63080b5dfb7f..fcc0e00de4bd 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -128,7 +128,7 @@ sc::MatrixEdge ScColumn::GetBlockMatrixEdges( SCROW nRow1, SCROW nRow2, sc::Matr if (pCell->GetMatrixFlag() == ScMatrixMode::NONE) return MatrixEdge::Nothing; - return pCell->GetMatrixEdge(aOrigin); + return pCell->GetMatrixEdge(GetDoc(), aOrigin); } bool bOpen = false; @@ -158,7 +158,7 @@ sc::MatrixEdge ScColumn::GetBlockMatrixEdges( SCROW nRow1, SCROW nRow2, sc::Matr if (pCell->GetMatrixFlag() == ScMatrixMode::NONE) continue; - nEdges = pCell->GetMatrixEdge(aOrigin); + nEdges = pCell->GetMatrixEdge(GetDoc(), aOrigin); if (nEdges == MatrixEdge::Nothing) continue; @@ -233,7 +233,7 @@ bool ScColumn::HasSelectionMatrixFragment(const ScMarkData& rMark) const // cell is not a part of a matrix. continue; - MatrixEdge nEdges = pCell->GetMatrixEdge(aOrigin); + MatrixEdge nEdges = pCell->GetMatrixEdge(GetDoc(), aOrigin); if (nEdges == MatrixEdge::Nothing) continue; |