diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 12:06:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-18 19:57:50 +0200 |
commit | 4baec6159199a1b0305bdc28df1579d6e7602a95 (patch) | |
tree | 9a1590358bbcddfb68ab4463bf3c8a33156c92d9 /sc/source/ui/docshell/docsh.cxx | |
parent | 08e85556d2ae66bdf43d908e1b9dfca4c78295e2 (diff) |
ScCellValue::getString never called with a null ScDocument*
Change-Id: Idff982e715b012e35e0abd0b904f4b83d7f6f51a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103007
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index a89ac6e6a159..0a2be452cfe6 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2095,7 +2095,7 @@ void ScDocShell::AsciiSave( SvStream& rStream, const ScImportOptions& rAsciiOpt } else { - ScCellFormat::GetInputString(*pCell, nFormat, aString, rFormatter, &m_aDocument); + ScCellFormat::GetInputString(*pCell, nFormat, aString, rFormatter, m_aDocument); bString = bForceQuotes = !bSaveNumberAsSuch; } } @@ -2145,7 +2145,7 @@ void ScDocShell::AsciiSave( SvStream& rStream, const ScImportOptions& rAsciiOpt } else { - ScCellFormat::GetInputString(*pCell, nFormat, aString, rFormatter, &m_aDocument); + ScCellFormat::GetInputString(*pCell, nFormat, aString, rFormatter, m_aDocument); bString = bForceQuotes = !bSaveNumberAsSuch; } } |