diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-07 18:03:47 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-08 15:48:10 -0400 |
commit | 543dfbad46ae0e67636a92af677dd9c3258fac84 (patch) | |
tree | 12e6570aae6ba9a28fbb9e4eedab3b09bbb11450 /sc/source/core | |
parent | 658fc68d574bd49b8b233ad5ed886758e290b3aa (diff) |
Unused methods.
Change-Id: I8e70d2c730f0d8fa43a4270fddeca431bd7a5048
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/column3.cxx | 13 | ||||
-rw-r--r-- | sc/source/core/data/document.cxx | 8 | ||||
-rw-r--r-- | sc/source/core/data/table2.cxx | 8 |
3 files changed, 0 insertions, 29 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index c854456c22c0..16ac30c40b95 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -2284,19 +2284,6 @@ void ScColumn::GetString( SCROW nRow, OUString& rString ) const ScCellFormat::GetString(aCell, nFormat, rString, &pColor, *(pDocument->GetFormatTable()), pDocument); } -const svl::SharedString* ScColumn::GetStringCell( SCROW nRow ) const -{ - std::pair<sc::CellStoreType::const_iterator,size_t> aPos = maCells.position(nRow); - sc::CellStoreType::const_iterator it = aPos.first; - if (it == maCells.end()) - return NULL; - - if (it->type != sc::element_type_string) - return NULL; - - return &sc::string_block::at(*it->data, aPos.second); -} - double* ScColumn::GetValueCell( SCROW nRow ) { std::pair<sc::CellStoreType::iterator,size_t> aPos = maCells.position(nRow); diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index e3184f0b71f9..b5f6b8e4dc58 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -3205,14 +3205,6 @@ OUString ScDocument::GetString( const ScAddress& rPos ) const return aStr; } -const svl::SharedString* ScDocument::GetStringCell( const ScAddress& rPos ) const -{ - if (!TableExists(rPos.Tab())) - return NULL; - - return maTabs[rPos.Tab()]->GetStringCell(rPos.Col(), rPos.Row()); -} - double* ScDocument::GetValueCell( const ScAddress& rPos ) { if (!TableExists(rPos.Tab())) diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index b66be8c67657..a7504ccb5234 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -1547,14 +1547,6 @@ void ScTable::GetString( SCCOL nCol, SCROW nRow, OUString& rString ) const rString = OUString(); } -const svl::SharedString* ScTable::GetStringCell( SCCOL nCol, SCROW nRow ) const -{ - if (!ValidColRow(nCol,nRow)) - return NULL; - - return aCol[nCol].GetStringCell(nRow); -} - double* ScTable::GetValueCell( SCCOL nCol, SCROW nRow ) { if (!ValidColRow(nCol,nRow)) |