Commit cecce7a4 authored by Boudewijn Rempt's avatar Boudewijn Rempt Committed by Scott Petrovic

Remove unused code

parent 0f23dbe7
......@@ -42,29 +42,6 @@ class KisExternalLayer;
K_PLUGIN_FACTORY_WITH_JSON(ExportFactory, "krita_psd_export.json", registerPlugin<psdExport>();)
bool checkHomogenity(KisNodeSP root, const KoColorSpace* cs)
{
bool res = true;
KisNodeSP child = root->firstChild();
while (child) {
if (child->childCount() > 0) {
res = checkHomogenity(child, cs);
if (res == false) {
break;
}
}
KisLayer *layer = qobject_cast<KisLayer*>(child.data());
if (layer) {
if (layer->colorSpace() != cs) {
res = false;
break;
}
}
child = child->nextSibling();
}
return res;
}
psdExport::psdExport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment