summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/impex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/impex.cxx')
-rw-r--r--sc/source/ui/docshell/impex.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index 75ad60f1d60a..64dcf05b7a41 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -1855,7 +1855,7 @@ bool ScImportExport::Sylk2Doc( SvStream& rStrm )
else
{
ScFormulaCell* pFCell = new ScFormulaCell(
- pDoc, aPos, *pCode, eGrammar, MM_NONE);
+ pDoc, aPos, *pCode, eGrammar, ScMatrixMode::NONE);
pDoc->SetFormulaCell(aPos, pFCell);
}
delete pCode; // ctor/InsertMatrixFormula did copy TokenArray
@@ -2034,7 +2034,7 @@ bool ScImportExport::Doc2Sylk( SvStream& rStrm )
const ScFormulaCell* pFCell = aCell.mpFormula;
switch ( pFCell->GetMatrixFlag() )
{
- case MM_REFERENCE :
+ case ScMatrixMode::Reference :
aCellStr.clear();
break;
default:
@@ -2047,7 +2047,7 @@ bool ScImportExport::Doc2Sylk( SvStream& rStrm )
* writes in SYLK, or even better
* GRAM_ENGLISH_XL_R1C1. */
}
- if ( pFCell->GetMatrixFlag() != MM_NONE &&
+ if ( pFCell->GetMatrixFlag() != ScMatrixMode::NONE &&
aCellStr.startsWith("{") &&
aCellStr.endsWith("}") )
{ // cut off matrix {} characters
@@ -2058,7 +2058,7 @@ bool ScImportExport::Doc2Sylk( SvStream& rStrm )
OUString aPrefix;
switch ( pFCell->GetMatrixFlag() )
{
- case MM_FORMULA :
+ case ScMatrixMode::Formula :
{ // diff expression with 'M' M$-extension
SCCOL nC;
SCROW nR;
@@ -2072,7 +2072,7 @@ bool ScImportExport::Doc2Sylk( SvStream& rStrm )
aPrefix += ";M";
}
break;
- case MM_REFERENCE :
+ case ScMatrixMode::Reference :
{ // diff expression with 'I' M$-extension
ScAddress aPos;
(void)pFCell->GetMatrixOrigin( aPos );