From: rnv Date: Tue, 25 Nov 2008 13:53:22 +0000 (+0000) Subject: Dump Python extension X-Git-Tag: TG_DumpPython_Extension_3~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=61d31943ac1424e0be9a8611ebfa4850cf176b21;p=modules%2Fkernel.git Dump Python extension --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx index 6ec8e8134..762f2e766 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Tool.cxx @@ -246,7 +246,7 @@ vector SALOMEDSImpl_Tool::splitStringWithEmpty(const string& theValue, c vector aResult; if(theValue[0] == sep ) aResult.push_back(string()); int pos = theValue.find(sep); - if(pos < 0) { + if(pos < 0 && theValue.size() > 0) { aResult.push_back(theValue); return aResult; }