[Libreoffice-commits] core.git: Branch 'distro/nisz/libreoffice-7-1' - sc/source
Gabor Kelemen (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 29 11:02:46 UTC 2021
sc/source/ui/view/cellsh1.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 2f7e4097f2f2649c4fcbebc4f67a75b9083c30de
Author: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Tue Jun 29 12:59:38 2021 +0200
Commit: Gabor Kelemen <kelemen.gabor2 at 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.gabor2 at nisz.hu>
Reviewed-by: Gabor Kelemen <kelemen.gabor2 at 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);
More information about the Libreoffice-commits
mailing list