summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorDaniel Bankston <daniel.e.bankston@gmail.com>2012-07-08 13:28:22 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-11 20:37:42 -0400
commit9ba62d504ca93a377b7de328e2d00caa786638c6 (patch)
tree210261a7e3cc94d8deb6fa18e90d1a95448cfd37 /sc
parent24c444ef7d595e69fd825f08668a5b0aeb010c45 (diff)
Remove calls to ScFormulaCell::SetFormatType() that are no longer necessary
Change-Id: I632273a2278cd76d2af96192885a11bea85bd6a0
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx
index 9f54f5cd9b7d..3ff5b588c00a 100644
--- a/sc/source/filter/xml/xmlcelli.cxx
+++ b/sc/source/filter/xml/xmlcelli.cxx
@@ -760,7 +760,6 @@ void ScXMLTableRowCellContext::AddTextCellToDoc( const ScAddress& rCurrentPos,
pFCell->SetHybridString( *pOUText );
else
bDoIncrement = false;
- pFCell->SetFormatType( nCellType );
pFCell->ResetDirty();
}
}
@@ -1030,7 +1029,6 @@ void ScXMLTableRowCellContext::AddNonMatrixFormulaCell( const ScAddress& rCellPo
pFCell->SetHybridString( *pOUTextValue );
else
pFCell->SetHybridDouble( fValue );
- pFCell->SetFormatType( nCellType );
pFCell->ResetDirty();
}
else if ( aText[0] == '\'' && aText.getLength() > 1 )
@@ -1083,7 +1081,6 @@ void ScXMLTableRowCellContext::AddFormulaCell( const ScAddress& rCellPos )
pFCell->SetHybridString( *pOUTextValue );
else
pFCell->SetHybridDouble( fValue );
- pFCell->SetFormatType( nCellType );
pFCell->ResetDirty();
}
}