diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-26 10:29:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-27 10:27:29 +0200 |
commit | 44af42016eebc85c8b2f6e21efc2da7e732432fb (patch) | |
tree | 020d86d5f6b4d79d42fd6ccd2c9d0e2ae4012f12 /sc | |
parent | 252ca499da21faccc4b6b29ba419fa5ca3c3d0ce (diff) |
remove unused code ScRefCellValue::commit(ScColumn&, int) const
Change-Id: I2f91a7b6b471d655f19f1f0ed94c4e1d0273ed80
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/cellvalue.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/cellvalue.cxx | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/sc/inc/cellvalue.hxx b/sc/inc/cellvalue.hxx index 94af1469e570..193cb967c3e7 100644 --- a/sc/inc/cellvalue.hxx +++ b/sc/inc/cellvalue.hxx @@ -130,8 +130,6 @@ struct SC_DLLPUBLIC ScRefCellValue */ void commit( ScDocument& rDoc, const ScAddress& rPos ) const; - void commit( ScColumn& rColumn, SCROW nRow ) const; - bool hasString() const; bool hasNumeric() const; diff --git a/sc/source/core/data/cellvalue.cxx b/sc/source/core/data/cellvalue.cxx index d963fa31bc5a..bc7e234dfdd4 100644 --- a/sc/source/core/data/cellvalue.cxx +++ b/sc/source/core/data/cellvalue.cxx @@ -103,8 +103,7 @@ bool equalsWithoutFormatImpl( const _T& left, const _T& right ) return false; } -template<typename _T> -void commitToColumn( const _T& rCell, ScColumn& rColumn, SCROW nRow ) +static void commitToColumn( const ScCellValue& rCell, ScColumn& rColumn, SCROW nRow ) { switch (rCell.meType) { @@ -546,11 +545,6 @@ void ScRefCellValue::commit( ScDocument& rDoc, const ScAddress& rPos ) const } } -void ScRefCellValue::commit( ScColumn& rColumn, SCROW nRow ) const -{ - commitToColumn(*this, rColumn, nRow); -} - bool ScRefCellValue::hasString() const { return hasStringImpl(meType, mpFormula); |