# HG changeset patch # User Chris Cannam # Date 1578666644 0 # Node ID e2ad6fe768b0ad462bf8297b491e2bb30e58d153 # Parent 1e2e03197b8cc95c678990ce4a0143f0d48fee6f Tidy diff -r 1e2e03197b8c -r e2ad6fe768b0 framework/MainWindowBase.cpp --- a/framework/MainWindowBase.cpp Wed Jan 08 15:34:10 2020 +0000 +++ b/framework/MainWindowBase.cpp Fri Jan 10 14:30:44 2020 +0000 @@ -2825,8 +2825,6 @@ if (suffix == "xml" || suffix == "svl") { - //!!! +selection - QFile file(path); if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) { error = tr("Failed to open file %1 for writing").arg(path); @@ -2884,8 +2882,6 @@ } else if (suffix == "ttl" || suffix == "n3") { - //!!! +selection - if (!RDFExporter::canExportModel(model.get())) { error = tr("Sorry, cannot export this layer type to RDF (supported types are: region, note, text, time instants, time values)"); } else {