diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-21 10:44:50 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-22 21:49:21 -0400 |
commit | 753310b7db6a36aeaae36cef3bfca970e9310569 (patch) | |
tree | d7ff529bd9eb5592f65ce2a6a670afe3f2fb9e58 /sc/source/core/data/cell.cxx | |
parent | fec3797262c67e4a7a612e6f1569127569e6f51e (diff) |
Remove unused methods.
Change-Id: I8a7b5513e136a632950c3d41f62020f6b68203ef
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() |