summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-24 09:13:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-24 16:24:51 +0200
commitfe1ea3f546a539787d7f5e9c25fcf47dc0cbe2c0 (patch)
tree3b52b05a162921d0ea21b0e09e64cd82d07ec03d /sc/source/ui/view/cellsh.cxx
parent85af9e1d7a5820b989b004594e5462093b300021 (diff)
some places where ScDocument* is never passed a nullptr
Change-Id: Ie06fef80990b539d5b6cc87c80d9bbd3e851766c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103299 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view/cellsh.cxx')
-rw-r--r--sc/source/ui/view/cellsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index 01d9feb25107..2fe440d84e12 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -349,7 +349,7 @@ void ScCellShell::GetCellState( SfxItemSet& rSet )
if (!bDisable)
{
// test for available languages
- LanguageType nLang = ScViewUtil::GetEffLanguage( &rDoc, aCursor );
+ LanguageType nLang = ScViewUtil::GetEffLanguage( rDoc, aCursor );
bDisable = !ScModule::HasThesaurusLanguage( nLang );
}
}
@@ -571,7 +571,7 @@ bool checkDestRanges(ScViewData& rViewData)
aMark.MarkToSimple();
aMark.FillRangeListWithMarks(&aRanges, false);
- return ScClipUtil::CheckDestRanges(&rDoc, nColSize, nRowSize, aMark, aRanges);
+ return ScClipUtil::CheckDestRanges(rDoc, nColSize, nRowSize, aMark, aRanges);
}
}