summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh8.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-06-16 14:09:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-16 15:26:14 +0200
commit3d2e26d8b7a99d0a622741ef4327e8cbc93bbe02 (patch)
treec352c49a99884d38296ce05312e4152295e38b99 /sc/source/ui/docshell/docsh8.cxx
parent1ac3b4ae83856eebe6bc329b7a92575b6b1d84be (diff)
make meType in ScCellValue private
as a first step to wrapping up the internals of this class and adding some asserts Change-Id: Ic13ddd917948dbf3fd6d73f44b8efcc727726baf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135994 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/docshell/docsh8.cxx')
-rw-r--r--sc/source/ui/docshell/docsh8.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index 683ac2cbe349..7974eb330d74 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -903,7 +903,7 @@ ErrCode ScDocShell::DBaseExport( const OUString& rFullFileName, rtl_TextEncoding
ScRefCellValue aCell(*m_pDocument, ScAddress(nDocCol, nDocRow, nTab));
if (!aCell.isEmpty())
{
- if (aCell.meType == CELLTYPE_EDIT)
+ if (aCell.getType() == CELLTYPE_EDIT)
{ // preserve paragraphs
lcl_getLongVarCharEditString(aString, aCell, aEditEngine);
}
@@ -1009,7 +1009,7 @@ ErrCode ScDocShell::DBaseExport( const OUString& rFullFileName, rtl_TextEncoding
{
case sdbc::DataType::LONGVARCHAR:
{
- if (pCell->meType == CELLTYPE_EDIT)
+ if (pCell->getType() == CELLTYPE_EDIT)
lcl_getLongVarCharEditString(aString, *pCell, aEditEngine);
else
lcl_getLongVarCharString(