diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 14:56:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 22:28:09 +0200 |
commit | eb55bc5eae82873492cfd7577fb553b1c5abff6b (patch) | |
tree | f99b6429c661ecc039e463ab57762ddfa0775af7 /sc/source/ui/unoobj/cellsuno.cxx | |
parent | d9ee08d6fdc23cafa606bbbebd0b64a559fcf24c (diff) |
ScFormulaCell ctor variants never called with null ScDocument*
Change-Id: Ie0814a8948e2a4bcf723f0418c496fbbe85495ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102878
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj/cellsuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 997f953e806c..adc05f6fc4f9 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -6354,7 +6354,7 @@ void SAL_CALL ScCellObj::setTokens( const uno::Sequence<sheet::FormulaToken>& rT ScTokenArray aTokenArray(rDoc); (void)ScTokenConversion::ConvertToTokenArray( rDoc, aTokenArray, rTokens ); - ScFormulaCell* pNewCell = new ScFormulaCell(&rDoc, aCellPos, aTokenArray); + ScFormulaCell* pNewCell = new ScFormulaCell(rDoc, aCellPos, aTokenArray); (void)pDocSh->GetDocFunc().SetFormulaCell(aCellPos, pNewCell, false); } } |