From e7a39783584260e2b4cacf29daf422421a1e2aa7 Mon Sep 17 00:00:00 2001 From: konrad Date: Mon, 4 Jan 2010 17:47:46 +0000 Subject: [PATCH] typo: missing return git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@400 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- woc/qtout.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/woc/qtout.cpp b/woc/qtout.cpp index 7f3482e..eac47af 100644 --- a/woc/qtout.cpp +++ b/woc/qtout.cpp @@ -671,7 +671,7 @@ QString WocQtClientOut::trnOutput(const WocTransaction&trn) code+="\tdoc=QDomDocument();\n"; code+="\tQString emsg;int eln,ecl;\n"; code+="\tif(!doc.setContent(rba,&emsg,&eln,&ecl)){\n"; - code+="\t\tm_stage=Error;m_errtype=\"_iface\";m_errstr=QString(QCoreApplication::translate(\"WobTransaction\",\"XML result parser error line %1 col %2: %3\")).arg(eln).arg(ecl).arg(emsg);\n\t}\n"; + code+="\t\tm_stage=Error;m_errtype=\"_iface\";m_errstr=QString(QCoreApplication::translate(\"WobTransaction\",\"XML result parser error line %1 col %2: %3\")).arg(eln).arg(ecl).arg(emsg);\n\t\treturn;\n\t}\n"; code+="\troot=doc.documentElement();\n"; //decide where to go, error handling code+="\tif(m_wobstatus!=\"ok\"){\n\t\tm_stage=Error;m_errtype=\"_server\";m_errstr=\"unknown server error\";\n"; @@ -679,7 +679,7 @@ QString WocQtClientOut::trnOutput(const WocTransaction&trn) code+="\t\tif(nl.size()==0)return;\n"; code+="\t\ttmp=nl.at(0).toElement();\n"; code+="\t\tm_errtype=tmp.attribute(\"type\",\"_server\");\n"; - code+="\t\tm_errstr=tmp.text();\n\treturn;\n\t}\n"; + code+="\t\tm_errstr=tmp.text();\n\t\treturn;\n\t}\n"; code+="\tQList nl;\n"; //parse parameters for(int i=0;i