diff options
Diffstat (limited to 'sc/source/core/data/document.cxx')
-rw-r--r-- | sc/source/core/data/document.cxx | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index b5f6b8e4dc58..51a5c2ef8eb0 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -3213,20 +3213,12 @@ double* ScDocument::GetValueCell( const ScAddress& rPos ) return maTabs[rPos.Tab()]->GetValueCell(rPos.Col(), rPos.Row()); } -sal_uIntPtr ScDocument::GetCellStringID( const ScAddress& rPos ) const +svl::SharedString ScDocument::GetSharedString( const ScAddress& rPos ) const { if (!TableExists(rPos.Tab())) - return 0; - - return maTabs[rPos.Tab()]->GetCellStringID(rPos.Col(), rPos.Row()); -} - -sal_uIntPtr ScDocument::GetCellStringIDIgnoreCase( const ScAddress& rPos ) const -{ - if (!TableExists(rPos.Tab())) - return 0; + return svl::SharedString(); - return maTabs[rPos.Tab()]->GetCellStringIDIgnoreCase(rPos.Col(), rPos.Row()); + return maTabs[rPos.Tab()]->GetSharedString(rPos.Col(), rPos.Row()); } void ScDocument::GetInputString( SCCOL nCol, SCROW nRow, SCTAB nTab, OUString& rString ) |