diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-16 14:51:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-22 10:28:39 +0200 |
commit | f87e0957cdcbf9ee12e0615b55a1bb1de1d70efb (patch) | |
tree | 382b29377011cb05cf57f67cdecd607ab17cbbd9 /sc/source/core | |
parent | 8b98bc855d7436828553948a1d28d686848e139c (diff) |
convert SVX_SEARCHIN_ flags to scoped enum
Change-Id: Iac7216c66afef6cbd355f7047655baaadc0f74db
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/table6.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx index a5b7192f4673..3c24c8fd7c20 100644 --- a/sc/source/core/data/table6.cxx +++ b/sc/source/core/data/table6.cxx @@ -77,7 +77,7 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo CellType eCellType = aCell.meType; switch (rSearchItem.GetCellType()) { - case SVX_SEARCHIN_FORMULA: + case SvxSearchCellType::FORMULA: { if ( eCellType == CELLTYPE_FORMULA ) aCell.mpFormula->GetFormula(aString, pDocument->GetGrammar()); @@ -89,7 +89,7 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo } } break; - case SVX_SEARCHIN_VALUE: + case SvxSearchCellType::VALUE: if ( eCellType == CELLTYPE_EDIT ) bMultiLine = lcl_GetTextWithBreaks(*aCell.mpEditText, pDocument, aString); else @@ -97,7 +97,7 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo aCol[nCol].GetInputString( nRow, aString ); } break; - case SVX_SEARCHIN_NOTE: + case SvxSearchCellType::NOTE: break; // don't search this case here default: break; |