summaryrefslogtreecommitdiff
path: root/configmgr/source/xmlreader.cxx
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-08 13:54:13 +0100
committersb <sb@openoffice.org>2010-02-08 13:54:13 +0100
commitc1307dc6470e80c2c79a0f691ecfec44ffe9ad3d (patch)
tree0a1ecdb47013b90add4cb21c5f1a2274b9cfd276 /configmgr/source/xmlreader.cxx
parent0ac0aed5886f74e857e52d7846bf09ce4a6175c1 (diff)
sb111: #i101955# do not pass ephemeral buffer to Pad::add
Diffstat (limited to 'configmgr/source/xmlreader.cxx')
-rw-r--r--configmgr/source/xmlreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/xmlreader.cxx b/configmgr/source/xmlreader.cxx
index 2bac273610fb..9ddbb64bb13a 100644
--- a/configmgr/source/xmlreader.cxx
+++ b/configmgr/source/xmlreader.cxx
@@ -531,7 +531,7 @@ char const * XmlReader::handleReference(char const * position, char const * end)
buf[3] = static_cast< char >((val & 0x3F) | 0x80);
len = 4;
}
- pad_.add(buf, len);
+ pad_.addEphemeral(buf, len);
return position;
} else {
struct EntityRef {