mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
AK: Move memory streams from LibCore
This commit is contained in:
parent
11550f582b
commit
093cf428a3
46 changed files with 213 additions and 203 deletions
|
@ -10,8 +10,8 @@
|
|||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/JsonArray.h>
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <AK/MemoryStream.h>
|
||||
#include <Applications/Spreadsheet/CSVExportGML.h>
|
||||
#include <LibCore/MemoryStream.h>
|
||||
#include <LibCore/StandardPaths.h>
|
||||
#include <LibGUI/Application.h>
|
||||
#include <LibGUI/CheckBox.h>
|
||||
|
@ -167,7 +167,7 @@ auto CSVExportDialogPage::generate(AK::Stream& stream, GenerationType type) -> E
|
|||
void CSVExportDialogPage::update_preview()
|
||||
{
|
||||
auto maybe_error = [this]() -> ErrorOr<void> {
|
||||
Core::Stream::AllocatingMemoryStream memory_stream;
|
||||
AllocatingMemoryStream memory_stream;
|
||||
TRY(generate(memory_stream, GenerationType::Preview));
|
||||
auto buffer = TRY(memory_stream.read_until_eof());
|
||||
m_data_preview_text_editor->set_text(StringView(buffer));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue