From 9ba62d504ca93a377b7de328e2d00caa786638c6 Mon Sep 17 00:00:00 2001 From: Daniel Bankston Date: Sun, 8 Jul 2012 13:28:22 -0500 Subject: Remove calls to ScFormulaCell::SetFormatType() that are no longer necessary Change-Id: I632273a2278cd76d2af96192885a11bea85bd6a0 --- sc/source/filter/xml/xmlcelli.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'sc') 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(); } } -- cgit