Check-in Number:
|
4010 | |
Date: |
2003-Feb-05 14:58:02 (local)
2003-Feb-05 13:58:02 (UTC) |
User: | ms |
Branch: | |
Comment: |
Unconditionally escape remarks. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/as/as-gui/as_dataop.cpp 1.42 -> 1.43
--- as_dataop.cpp 2003/02/04 19:30:31 1.42
+++ as_dataop.cpp 2003/02/05 13:58:02 1.43
@@ -418,12 +418,14 @@
Tstream << trUtf8(" ") << Tempfield; // Save acct field text
Tempfield = m_pMaintable->text(nIter, TITRAQ_IDXREMARK); // Load remark field text
+ Tstream << trUtf8(" \""); // Save beginning double quote
if (Tempfield != NULL) {
Strsearch = QRegExp::escape(Tempfield); // Incoming string escaped
Stripper.search(Strsearch);
Tempfield.truncate(Stripper.pos());
- Tstream << trUtf8(" \"") << Tempfield << trUtf8("\""); // Save remark field text
+ Tstream << Tempfield; // Save remark field text
}
+ Tstream << trUtf8("\""); // Save ending double quote
Tstream << endl; // Append a newline
}
|
|