summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-06-17 16:00:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-17 17:00:11 +0200
commitc78193b32152122e9b71151b1b463b2dff99f42f (patch)
tree72dcf399927ea7b4dd0bcb53829f31301272f3f8 /sc/source/ui/docshell/docsh.cxx
parent69e5d752ef20f5cd5b3a429a3546ae46bbb5f62a (diff)
create getter for ScCellValue::mpEditText
so we can assert that it has the correct tag type Change-Id: I984c22ae2527d652f2d4194227dc1173793300c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136054 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 644afc8d14e6..23c43335365c 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2175,7 +2175,7 @@ void ScDocShell::AsciiSave( SvStream& rStream, const ScImportOptions& rAsciiOpt,
break;
case CELLTYPE_EDIT :
{
- const EditTextObject* pObj = pCell->mpEditText;
+ const EditTextObject* pObj = pCell->getEditText();
EditEngine& rEngine = m_pDocument->GetEditEngine();
rEngine.SetText( *pObj);
aString = rEngine.GetText(); // including LF