ZaStoGram_desktop/Telegram/SourceFiles/iv/markdown/iv_markdown_document.cpp
John Preston 11b2a49ce5 Remove unused functions from the Markdown viewer
Task: 2026/10/13/remove-unused-functions-in-the-markdown-viewer
2026-10-14 12:21:16 +04:00

21 lines
564 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "iv/markdown/iv_markdown_document.h"
#include <utility>
namespace Iv::Markdown {
PreparedDocument EmptyDocument(QString sourceName) {
auto document = PreparedDocument();
document.sourceName = std::move(sourceName);
document.document.kind = NodeKind::Document;
return document;
}
} // namespace Iv::Markdown