summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2023-12-31 10:33:12 +0100
committerKevin Suo <suokunlong@126.com>2024-03-04 14:33:39 +0100
commitf43f6c4292bd20b18d29abbd7763e098b100e95c (patch)
treeeff067a576a720eacf14518d063c958180644492 /sc
parent199523b553957936dc31b8c3556ef2e47c6bc3a1 (diff)
Remove break after return
Change-Id: Id8e933ba8b7b0836613b3b722f3eda081b77f1f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161463 Tested-by: Jenkins Reviewed-by: Kevin Suo <suokunlong@126.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/column.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 34524e444dc3..dea1adde51f3 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -605,19 +605,15 @@ ScRefCellValue ScColumn::GetCellValue( const sc::CellStoreType::const_iterator&
case sc::element_type_numeric:
// Numeric cell
return ScRefCellValue(sc::numeric_block::at(*itPos->data, nOffset));
- break;
case sc::element_type_string:
// String cell
return ScRefCellValue(&sc::string_block::at(*itPos->data, nOffset));
- break;
case sc::element_type_edittext:
// Edit cell
return ScRefCellValue(sc::edittext_block::at(*itPos->data, nOffset));
- break;
case sc::element_type_formula:
// Formula cell
return ScRefCellValue(sc::formula_block::at(*itPos->data, nOffset));
- break;
default:
return ScRefCellValue(); // empty cell
}