summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-16 12:06:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-18 19:57:50 +0200
commit4baec6159199a1b0305bdc28df1579d6e7602a95 (patch)
tree9a1590358bbcddfb68ab4463bf3c8a33156c92d9 /sc/source/ui/docshell/docsh.cxx
parent08e85556d2ae66bdf43d908e1b9dfca4c78295e2 (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.cxx4
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;
}
}