From a5b034d4a9c44f9bc1e83b01de82530f8fc63013 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 4 Apr 2015 14:41:04 -0400 Subject: Imported Upstream version 3.0.4 --- Plugins/XmlExport/XmlExport_de.ts | 2 +- Plugins/XmlExport/XmlExport_es.ts | 2 +- Plugins/XmlExport/XmlExport_fr.ts | 2 +- Plugins/XmlExport/XmlExport_pl.ts | 2 +- Plugins/XmlExport/XmlExport_pt_BR.ts | 2 +- Plugins/XmlExport/XmlExport_ru.ts | 2 +- Plugins/XmlExport/XmlExport_sk.ts | 2 +- Plugins/XmlExport/XmlExport_zh_CN.ts | 2 +- Plugins/XmlExport/xmlexport.cpp | 4 +++- Plugins/XmlExport/xmlexport.json | 2 +- Plugins/XmlExport/xmlexport.qrc | 2 ++ 11 files changed, 14 insertions(+), 10 deletions(-) (limited to 'Plugins/XmlExport') diff --git a/Plugins/XmlExport/XmlExport_de.ts b/Plugins/XmlExport/XmlExport_de.ts index aa8eb2f..587f54c 100644 --- a/Plugins/XmlExport/XmlExport_de.ts +++ b/Plugins/XmlExport/XmlExport_de.ts @@ -1,6 +1,6 @@ - + XmlExport diff --git a/Plugins/XmlExport/XmlExport_es.ts b/Plugins/XmlExport/XmlExport_es.ts index 532228c..c7c3fdf 100644 --- a/Plugins/XmlExport/XmlExport_es.ts +++ b/Plugins/XmlExport/XmlExport_es.ts @@ -1,6 +1,6 @@ - + XmlExport diff --git a/Plugins/XmlExport/XmlExport_fr.ts b/Plugins/XmlExport/XmlExport_fr.ts index 80c2564..94e10d0 100644 --- a/Plugins/XmlExport/XmlExport_fr.ts +++ b/Plugins/XmlExport/XmlExport_fr.ts @@ -1,6 +1,6 @@ - + XmlExport diff --git a/Plugins/XmlExport/XmlExport_pl.ts b/Plugins/XmlExport/XmlExport_pl.ts index fc0cfaa..8f2104e 100644 --- a/Plugins/XmlExport/XmlExport_pl.ts +++ b/Plugins/XmlExport/XmlExport_pl.ts @@ -1,6 +1,6 @@ - + XmlExport diff --git a/Plugins/XmlExport/XmlExport_pt_BR.ts b/Plugins/XmlExport/XmlExport_pt_BR.ts index 31a9cf7..f4faf44 100644 --- a/Plugins/XmlExport/XmlExport_pt_BR.ts +++ b/Plugins/XmlExport/XmlExport_pt_BR.ts @@ -1,6 +1,6 @@ - + XmlExport diff --git a/Plugins/XmlExport/XmlExport_ru.ts b/Plugins/XmlExport/XmlExport_ru.ts index b7c76e6..28480fe 100644 --- a/Plugins/XmlExport/XmlExport_ru.ts +++ b/Plugins/XmlExport/XmlExport_ru.ts @@ -1,6 +1,6 @@ - + XmlExport diff --git a/Plugins/XmlExport/XmlExport_sk.ts b/Plugins/XmlExport/XmlExport_sk.ts index 5c674aa..07d694d 100644 --- a/Plugins/XmlExport/XmlExport_sk.ts +++ b/Plugins/XmlExport/XmlExport_sk.ts @@ -1,6 +1,6 @@ - + XmlExport diff --git a/Plugins/XmlExport/XmlExport_zh_CN.ts b/Plugins/XmlExport/XmlExport_zh_CN.ts index 162841d..34023fb 100644 --- a/Plugins/XmlExport/XmlExport_zh_CN.ts +++ b/Plugins/XmlExport/XmlExport_zh_CN.ts @@ -1,6 +1,6 @@ - + XmlExport diff --git a/Plugins/XmlExport/xmlexport.cpp b/Plugins/XmlExport/xmlexport.cpp index e76fe7d..0cea7df 100644 --- a/Plugins/XmlExport/xmlexport.cpp +++ b/Plugins/XmlExport/xmlexport.cpp @@ -103,6 +103,8 @@ bool XmlExport::exportQueryResultsRow(SqlResultsRowPtr row) writeln(nullTpl.arg(i)); else writeln(rowTpl.arg(i).arg(escape(value.toString()))); + + i++; } decrIndent(); @@ -408,7 +410,7 @@ void XmlExport::writeln(const QString& str) QStringList lines = str.split("\n"); QMutableStringListIterator it(lines); while (it.hasNext()) - it.value().prepend(indentStr); + it.next().prepend(indentStr); newStr = lines.join("\n") + newLineStr; } diff --git a/Plugins/XmlExport/xmlexport.json b/Plugins/XmlExport/xmlexport.json index 2432cdd..5780e3e 100644 --- a/Plugins/XmlExport/xmlexport.json +++ b/Plugins/XmlExport/xmlexport.json @@ -2,6 +2,6 @@ "type": "ExportPlugin", "title": "XML export", "description": "Provides XML format for exporting.", - "version": 10000, + "version": 10001, "author": "SalSoft" } diff --git a/Plugins/XmlExport/xmlexport.qrc b/Plugins/XmlExport/xmlexport.qrc index d951458..554f642 100644 --- a/Plugins/XmlExport/xmlexport.qrc +++ b/Plugins/XmlExport/xmlexport.qrc @@ -6,5 +6,7 @@ XmlExport_pl.qm XmlExport_ru.qm XmlExport_fr.qm + XmlExport_sk.qm + XmlExport_zh_CN.qm -- cgit v1.2.3