diff options
Diffstat (limited to 'sc/source/core/data/cell.cxx')
-rw-r--r-- | sc/source/core/data/cell.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx index a8aab980dcf0..4aac6b5179b3 100644 --- a/sc/source/core/data/cell.cxx +++ b/sc/source/core/data/cell.cxx @@ -277,14 +277,6 @@ void ScBaseCell::DeleteBroadcaster() DELETEZ( mpBroadcaster ); } -ScBaseCell* ScBaseCell::CreateTextCell( const rtl::OUString& rString, ScDocument* pDoc ) -{ - if ( rString.indexOf('\n') != -1 || rString.indexOf(CHAR_CR) != -1 ) - return new ScEditCell( rString, pDoc ); - else - return new ScStringCell( rString ); -} - void ScBaseCell::StartListeningTo( ScDocument* pDoc ) { if ( eCellType == CELLTYPE_FORMULA && !pDoc->IsClipOrUndo() |