From 753310b7db6a36aeaae36cef3bfca970e9310569 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 21 Mar 2013 10:44:50 -0400 Subject: Remove unused methods. Change-Id: I8a7b5513e136a632950c3d41f62020f6b68203ef --- sc/source/core/data/cell.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sc/source/core/data/cell.cxx') 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() -- cgit