summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-14 12:20:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-14 16:44:57 +0100
commit914f9ee7bf7254f2f469bde4cf4c151a4ab25110 (patch)
tree64c11be2675279addc202bc7abda582a833587c0 /sc/source/ui/pagedlg
parent285538be45d03e524a404d072a9b0178c74baeaf (diff)
SetReference ScDocument arg is never null
Change-Id: Ifdfe305e5319926d804e14962e786389b79fe476 Reviewed-on: https://gerrit.libreoffice.org/82682 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r--sc/source/ui/pagedlg/areasdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx
index c6a1d2dfa88f..ddd8eb868b64 100644
--- a/sc/source/ui/pagedlg/areasdlg.cxx
+++ b/sc/source/ui/pagedlg/areasdlg.cxx
@@ -164,7 +164,7 @@ bool ScPrintAreasDlg::IsTableLocked() const
return true;
}
-void ScPrintAreasDlg::SetReference( const ScRange& rRef, ScDocument* /* pDoc */ )
+void ScPrintAreasDlg::SetReference( const ScRange& rRef, ScDocument& /* rDoc */ )
{
if ( m_pRefInputEdit )
{