summaryrefslogtreecommitdiff
path: root/xsd/cxx/elements.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/cxx/elements.cxx')
-rw-r--r--xsd/cxx/elements.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/xsd/cxx/elements.cxx b/xsd/cxx/elements.cxx
index 29603ae..a5db168 100644
--- a/xsd/cxx/elements.cxx
+++ b/xsd/cxx/elements.cxx
@@ -1034,9 +1034,9 @@ namespace CXX
// In most common cases we will have that many chars.
//
- r.reserve (n + 2);
+ r.reserve (n + 3);
- r += '"';
+ r += L"L\"";
Boolean escape (false);
@@ -1103,9 +1103,7 @@ namespace CXX
{
// Close and open the string so there are no clashes.
//
- r += '"';
- r += '"';
-
+ r += L"\"L\"";
escape = false;
}