summaryrefslogtreecommitdiff
path: root/sc/source/core/data/cellvalue.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-05-03 15:05:51 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-05-09 13:34:31 -0400
commit59f38babd074cc0b835a5d2a1c81af013dba0deb (patch)
tree6a9fd62c6b8eabe939845e85f3dd5942963cc51b /sc/source/core/data/cellvalue.cxx
parentff4731fb89f3b9d394c3826ab8dbe9d77df90a5a (diff)
Remove broadcaster from ScBaseCell, remove ScNoteCell and CELLTYPE_NOTE...
and Calc is now officially broken. Let's start fixing this bit by bit... Change-Id: I383c88245fe1e573666da636c6a8ca8815352ce7
Diffstat (limited to 'sc/source/core/data/cellvalue.cxx')
-rw-r--r--sc/source/core/data/cellvalue.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/core/data/cellvalue.cxx b/sc/source/core/data/cellvalue.cxx
index 588ccfbc17e9..17a426278679 100644
--- a/sc/source/core/data/cellvalue.cxx
+++ b/sc/source/core/data/cellvalue.cxx
@@ -24,8 +24,6 @@ CellType adjustCellType( CellType eOrig )
{
switch (eOrig)
{
- case CELLTYPE_NOTE:
- return CELLTYPE_NONE;
case CELLTYPE_EDIT:
return CELLTYPE_STRING;
default:
@@ -354,7 +352,7 @@ bool ScCellValue::hasNumeric() const
bool ScCellValue::isEmpty() const
{
- return meType == CELLTYPE_NOTE || meType == CELLTYPE_NONE;
+ return meType == CELLTYPE_NONE;
}
bool ScCellValue::equalsWithoutFormat( const ScCellValue& r ) const
@@ -498,7 +496,7 @@ OUString ScRefCellValue::getString()
bool ScRefCellValue::isEmpty() const
{
- return meType == CELLTYPE_NOTE || meType == CELLTYPE_NONE;
+ return meType == CELLTYPE_NONE;
}
bool ScRefCellValue::hasEmptyValue()