Kaydet (Commit) 9ba62d50 authored tarafından Daniel Bankston's avatar Daniel Bankston Kaydeden (comit) Kohei Yoshida

Remove calls to ScFormulaCell::SetFormatType() that are no longer necessary

Change-Id: I632273a2278cd76d2af96192885a11bea85bd6a0
üst 24c444ef
...@@ -760,7 +760,6 @@ void ScXMLTableRowCellContext::AddTextCellToDoc( const ScAddress& rCurrentPos, ...@@ -760,7 +760,6 @@ void ScXMLTableRowCellContext::AddTextCellToDoc( const ScAddress& rCurrentPos,
pFCell->SetHybridString( *pOUText ); pFCell->SetHybridString( *pOUText );
else else
bDoIncrement = false; bDoIncrement = false;
pFCell->SetFormatType( nCellType );
pFCell->ResetDirty(); pFCell->ResetDirty();
} }
} }
...@@ -1030,7 +1029,6 @@ void ScXMLTableRowCellContext::AddNonMatrixFormulaCell( const ScAddress& rCellPo ...@@ -1030,7 +1029,6 @@ void ScXMLTableRowCellContext::AddNonMatrixFormulaCell( const ScAddress& rCellPo
pFCell->SetHybridString( *pOUTextValue ); pFCell->SetHybridString( *pOUTextValue );
else else
pFCell->SetHybridDouble( fValue ); pFCell->SetHybridDouble( fValue );
pFCell->SetFormatType( nCellType );
pFCell->ResetDirty(); pFCell->ResetDirty();
} }
else if ( aText[0] == '\'' && aText.getLength() > 1 ) else if ( aText[0] == '\'' && aText.getLength() > 1 )
...@@ -1083,7 +1081,6 @@ void ScXMLTableRowCellContext::AddFormulaCell( const ScAddress& rCellPos ) ...@@ -1083,7 +1081,6 @@ void ScXMLTableRowCellContext::AddFormulaCell( const ScAddress& rCellPos )
pFCell->SetHybridString( *pOUTextValue ); pFCell->SetHybridString( *pOUTextValue );
else else
pFCell->SetHybridDouble( fValue ); pFCell->SetHybridDouble( fValue );
pFCell->SetFormatType( nCellType );
pFCell->ResetDirty(); pFCell->ResetDirty();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment