mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
AK: Replace the boolean parameter of StringView::lines with a named enum
This commit is contained in:
parent
d9349f1510
commit
07a27b2ec0
4 changed files with 9 additions and 5 deletions
|
@ -425,7 +425,7 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet)
|
|||
StringView urls { data.data(), data.size() };
|
||||
Vector<Position> source_positions, target_positions;
|
||||
|
||||
for (auto& line : urls.lines(false)) {
|
||||
for (auto& line : urls.lines(StringView::ConsiderCarriageReturn::No)) {
|
||||
auto position = m_sheet->position_from_url(line);
|
||||
if (position.has_value())
|
||||
source_positions.append(position.release_value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue