summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-14 09:34:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-14 20:23:20 +0200
commitbe714ddd3048ab41d653c3fbd13c83079e44c198 (patch)
treedf585a7741bedd6bce3d84fdb251c68f56e78ff0 /sc/source/ui/view/cellsh2.cxx
parent3976b438a19b316df9aebf7c68e86ce74ca78f1a (diff)
ScFormulaListener dtor always dereferences its ScDocument* member
Change-Id: I7eb22d693fc61a8ce46bb14c4fc421e7d0454684 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102654 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r--sc/source/ui/view/cellsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 7f527796c899..a3da043a8fe3 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -938,7 +938,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
if ( pOutSet->GetItemState( FID_VALID_ERRTEXT, true, &pItem ) == SfxItemState::SET )
aErrText = static_cast<const SfxStringItem*>(pItem)->GetValue();
- ScValidationData aData( eMode, eOper, aExpr1, aExpr2, pDoc, aCursorPos );
+ ScValidationData aData( eMode, eOper, aExpr1, aExpr2, *pDoc, aCursorPos );
aData.SetIgnoreBlank( bBlank );
aData.SetListType( nListType );