X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_Validators.cpp;h=c001a0c3f41585bd42416e2b7ca68ec4822807d3;hb=04a8a265b25901dd54e34d449f8d0c64304f1e69;hp=2582ca76e115063bcb941e10ab4d0e586e9e69b4;hpb=4783f146b71a48c651523fcf0e12367bcf3d1fa8;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_Validators.cpp b/src/ExchangePlugin/ExchangePlugin_Validators.cpp index 2582ca76e..c001a0c3f 100644 --- a/src/ExchangePlugin/ExchangePlugin_Validators.cpp +++ b/src/ExchangePlugin/ExchangePlugin_Validators.cpp @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: SketchPlugin_Validators.cpp // Created: 01 Aug 2014 // Author: Vitaly SMETANNIKOV @@ -31,23 +33,6 @@ bool ExchangePlugin_ImportFormatValidator::parseFormats(const std::list& theArguments, - std::list& outPlugins) -{ - std::list::const_iterator it = theArguments.begin(); - bool result = true; - for (; it != theArguments.end(); ++it) { - std::string anArg = *it; - int aSepPos = anArg.find(":"); - if (aSepPos == std::string::npos) { - result = false; - continue; - } - outPlugins.push_back(anArg.substr(aSepPos + 1)); - } - return result; -} - bool ExchangePlugin_ImportFormatValidator::isValid(const AttributePtr& theAttribute, const std::list& theArguments) const {