Kaydet (Commit) 55107688 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

This method is now unused.

Change-Id: I22b1089ee99ad041d567fdac8714c2e7fa774056
üst 7a3b8b1a
...@@ -95,7 +95,6 @@ class FormulaBuffer : public WorkbookHelper ...@@ -95,7 +95,6 @@ class FormulaBuffer : public WorkbookHelper
FormulaValueMap maCellFormulaValues; FormulaValueMap maCellFormulaValues;
void applyArrayFormulas( const std::vector< TokenRangeAddressItem >& rVector ); void applyArrayFormulas( const std::vector< TokenRangeAddressItem >& rVector );
void applyCellFormula( ScDocument& rDoc, const ApiTokenSequence& rTokens, const ::com::sun::star::table::CellAddress& rAddress );
void applyCellFormulas( const std::vector< TokenAddressItem >& rVector ); void applyCellFormulas( const std::vector< TokenAddressItem >& rVector );
void applyCellFormulaValues( const std::vector< ValueAddressPair >& rVector ); void applyCellFormulaValues( const std::vector< ValueAddressPair >& rVector );
void applySharedFormulas( sal_Int32 nTab ); void applySharedFormulas( sal_Int32 nTab );
......
...@@ -89,16 +89,6 @@ void FormulaBuffer::finalizeImport() ...@@ -89,16 +89,6 @@ void FormulaBuffer::finalizeImport()
xFormulaBar->setPosition( 1.0 ); xFormulaBar->setPosition( 1.0 );
} }
void FormulaBuffer::applyCellFormula( ScDocument& rDoc, const ApiTokenSequence& rTokens, const ::com::sun::star::table::CellAddress& rAddress )
{
ScTokenArray aTokenArray;
ScAddress aCellPos;
ScUnoConversion::FillScAddress( aCellPos, rAddress );
ScTokenConversion::ConvertToTokenArray( rDoc, aTokenArray, rTokens );
ScFormulaCell* pNewCell = new ScFormulaCell( &rDoc, aCellPos, &aTokenArray );
getDocImport().setFormulaCell(aCellPos, pNewCell);
}
void FormulaBuffer::applyCellFormulas( const std::vector< TokenAddressItem >& rVector ) void FormulaBuffer::applyCellFormulas( const std::vector< TokenAddressItem >& rVector )
{ {
ScDocumentImport& rDoc = getDocImport(); ScDocumentImport& rDoc = getDocImport();
......
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