From 914f9ee7bf7254f2f469bde4cf4c151a4ab25110 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 14 Nov 2019 12:20:05 +0000 Subject: SetReference ScDocument arg is never null MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifdfe305e5319926d804e14962e786389b79fe476 Reviewed-on: https://gerrit.libreoffice.org/82682 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/ui/pagedlg/areasdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/pagedlg') 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 ) { -- cgit