Remove check for customized styles in SRTSubtitleFormat::CanSave

It doesn't work with customizable default styles.
This commit is contained in:
Thomas Goyne 2014-05-09 09:24:27 -07:00
parent 73d64870af
commit b96edfebcc
1 changed files with 0 additions and 6 deletions

View File

@ -494,12 +494,6 @@ bool SRTSubtitleFormat::CanSave(const AssFile *file) const {
if (!file->Attachments.empty())
return false;
std::string defstyle = AssStyle().GetEntryData();
for (auto const& line : file->Styles) {
if (line.GetEntryData() != defstyle)
return false;
}
for (auto const& line : file->Events) {
auto blocks = line.ParseTags();
for (auto ovr : blocks | agi::of_type<AssDialogueBlockOverride>()) {