summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/xml/XMLTrackedChangesContext.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-04 17:09:40 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-06 17:38:48 +0100
commitcac42d3f6aca864da439a83f123638accf2e97cd (patch)
tree99ad3f972ff7b6def78dbb0fe3a9231947fe917f /sc/source/filter/xml/XMLTrackedChangesContext.cxx
parenthardcode MDDS_HASH_CONTAINER_BOOST (diff)
downloadcore-cac42d3f6aca864da439a83f123638accf2e97cd.tar.gz
core-cac42d3f6aca864da439a83f123638accf2e97cd.zip
Remove dead code
Diffstat (limited to 'sc/source/filter/xml/XMLTrackedChangesContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLTrackedChangesContext.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
index 86a5f4a88a81..2dd91d15c91d 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
@@ -285,8 +285,6 @@ class ScXMLChangeCellContext : public SvXMLImportContext
double& rDateTimeValue;
double fValue;
sal_uInt16& rType;
-// sal_Bool bIsMatrix;
-// sal_Bool bIsCoveredMatrix;
sal_Bool bEmpty;
sal_Bool bFirstParagraph;
sal_Bool bString;
@@ -1293,7 +1291,6 @@ void ScXMLChangeCellContext::EndElement()
if (GetScImport().GetDocument())
rOldCell = new ScEditCell(pEditTextObj->CreateTextObject(), GetScImport().GetDocument(), GetScImport().GetDocument()->GetEditPool());
GetScImport().GetTextImport()->ResetCursor();
- // delete pEditTextObj;
pEditTextObj->release();
}
else
@@ -1307,24 +1304,6 @@ void ScXMLChangeCellContext::EndElement()
if (rType == NUMBERFORMAT_DATE || rType == NUMBERFORMAT_TIME)
rInputString = sText;
}
- else
- {
- // do nothing, this has to do later (on another place)
- /*ScAddress aCellPos;
- rOldCell = new ScFormulaCell(GetScImport().GetDocument(), aCellPos, sFormula);
- if (bString)
- static_cast<ScFormulaCell*>(rOldCell)->SetString(sValue);
- else
- static_cast<ScFormulaCell*>(rOldCell)->SetDouble(fValue);
- static_cast<ScFormulaCell*>(rOldCell)->SetInChangeTrack(sal_True);
- if (bIsCoveredMatrix)
- static_cast<ScFormulaCell*>(rOldCell)->SetMatrixFlag(MM_REFERENCE);
- else if (bIsMatrix && nMatrixRows && nMatrixCols)
- {
- static_cast<ScFormulaCell*>(rOldCell)->SetMatrixFlag(MM_FORMULA);
- static_cast<ScFormulaCell*>(rOldCell)->SetMatColsRows(static_cast<SCCOL>(nMatrixCols), static_cast<SCROW>(nMatrixRows));
- }*/
- }
}
}
else