Debian Codegraph @

Testing/Data/9935-test.cxx

raw
1 /*=========================================================================
2
3 Program: Array2InitInRowBug
4
5 =========================================================================*/
6
7 #include "Array2InitInRowBug.h"
8
9 //----------------------------------------------------------------------------
10 Array2InitInRowBug::Array2InitInRowBug(QObject *parent)
11 {
12
13 }
14
15 //-----------------------------------------------------------------------------
16 Array2InitInRowBug::~Array2InitInRowBug()
17 {
18
19 }
20
21 //-----------------------------------------------------------------------------
22 QString Array2InitInRowBug::decodeXml(const QString & xmlEncoded)
23 {
24 QString encoded[8] =
25 {
26 "&", // ampersand &
27 "'", // simple quote '
28 "&#x3C;", // smaller than <
29 "&#x3E;", // greater than >
30 "&#x22;", // double quote "
31 "&#x0D;", // carriage return \r
32 "&#x0A;", // line feed, new line \n
33 "&#x09;", // horizontal tab \t
34 };
35 QString decoded[8] =
36 {
37 "&", // ampersand &
38 "\'", // simple quote '
39 "<", // smaller than <
40 ">", // greater than >
41 "\"", // double quote
42 "\r", // carriage return \r
43 "\n", // line feed, new line \n
44 "\t", // horizontal tab \t
45 };
46
47 return QString();
48 }