sc/source/ui/view/cellsh1.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 2f7e4097f2f2649c4fcbebc4f67a75b9083c30de Author: Gabor Kelemen <kelemen.gab...@nisz.hu> AuthorDate: Tue Jun 29 12:59:38 2021 +0200 Commit: Gabor Kelemen <kelemen.gab...@nisz.hu> CommitDate: Tue Jun 29 13:02:12 2021 +0200 tdf#36466 Fix backport build Change-Id: I338983a79df79e80d9c6e8d7ae983150ddde80f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118082 Tested-by: Gabor Kelemen <kelemen.gab...@nisz.hu> Reviewed-by: Gabor Kelemen <kelemen.gab...@nisz.hu> diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 88f4ae18ec42..ee3c9a30c99c 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -2775,7 +2775,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) { ScViewData* rData = GetViewData(); ScMarkData& rMark = rData->GetMarkData(); - ScDocument* rDoc = rData->GetDocument(); + ScDocument& rDoc = rData->GetDocument(); rMark.MarkToMulti(); @@ -2792,7 +2792,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) for (SCROW nRow = nStartRow; nRow <= nEndRow; ++nRow) { SCROW nLastRow = nRow; - if (rDoc->RowHidden(nRow, nTab, nullptr, &nLastRow)) + if (rDoc.RowHidden(nRow, nTab, nullptr, &nLastRow)) { rMark.SetMultiMarkArea( ScRange(nStartCol, nRow, nTab, nEndCol, nLastRow, nTab), false); @@ -2813,7 +2813,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) { ScViewData* rData = GetViewData(); ScMarkData& rMark = rData->GetMarkData(); - ScDocument* rDoc = rData->GetDocument(); + ScDocument& rDoc = rData->GetDocument(); rMark.MarkToMulti(); @@ -2830,7 +2830,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) for (SCCOL nCol = nStartCol; nCol <= nEndCol; ++nCol) { SCCOL nLastCol = nCol; - if (rDoc->ColHidden(nCol, nTab, nullptr, &nLastCol)) + if (rDoc.ColHidden(nCol, nTab, nullptr, &nLastCol)) { rMark.SetMultiMarkArea( ScRange(nCol, nStartRow, nTab, nLastCol, nEndRow, nTab), false); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits