mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Everywhere: Behaviour => Behavior
This commit is contained in:
parent
55b0b06897
commit
6ad427993a
48 changed files with 120 additions and 120 deletions
|
@ -154,17 +154,17 @@ auto CSVExportDialogPage::make_writer() -> Optional<XSV>
|
|||
quote_escape,
|
||||
};
|
||||
|
||||
auto behaviours = Writer::default_behaviours();
|
||||
auto behaviors = Writer::default_behaviors();
|
||||
Vector<String> empty_headers;
|
||||
auto* headers = &empty_headers;
|
||||
|
||||
if (should_export_headers) {
|
||||
behaviours = behaviours | Writer::WriterBehaviour::WriteHeaders;
|
||||
behaviors = behaviors | Writer::WriterBehavior::WriteHeaders;
|
||||
headers = &m_headers;
|
||||
}
|
||||
|
||||
if (should_quote_all_fields)
|
||||
behaviours = behaviours | Writer::WriterBehaviour::QuoteAll;
|
||||
behaviors = behaviors | Writer::WriterBehavior::QuoteAll;
|
||||
|
||||
// Note that the stream is used only by the ctor.
|
||||
auto stream = Core::OutputFileStream::open(m_temp_output_file_path);
|
||||
|
@ -172,7 +172,7 @@ auto CSVExportDialogPage::make_writer() -> Optional<XSV>
|
|||
dbgln("Cannot open {} for writing: {}", m_temp_output_file_path, stream.error());
|
||||
return {};
|
||||
}
|
||||
XSV writer(stream.value(), m_data, traits, *headers, behaviours);
|
||||
XSV writer(stream.value(), m_data, traits, *headers, behaviors);
|
||||
|
||||
if (stream.value().has_any_error()) {
|
||||
dbgln("Write error when making preview");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue