summaryrefslogtreecommitdiff
path: root/basic/source
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-06 10:24:25 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-06 10:24:25 +0100
commit9cfd9ab46bb57872cc13fe815a08089b4b2b5c78 (patch)
tree096c747de452b9f1e27bd8f08edbedad07e2e4ae /basic/source
parent7f77e8a49286d0b6bfd6e118cccca9a69bfb87b0 (diff)
parenta433665d4c116961eb29ecfc243cd400746b293f (diff)
undoapi: merge after pulling CWS sb135
Diffstat (limited to 'basic/source')
-rw-r--r--basic/source/runtime/dllmgr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/runtime/dllmgr.cxx b/basic/source/runtime/dllmgr.cxx
index 04f1ee0a8acc..dbef947f4e94 100644
--- a/basic/source/runtime/dllmgr.cxx
+++ b/basic/source/runtime/dllmgr.cxx
@@ -206,7 +206,8 @@ SbError marshalString(
return e;
}
std::vector< char > * blob = data.newBlob();
- blob->insert(blob->begin(), str.getStr(), str.getStr() + str.getLength());
+ blob->insert(
+ blob->begin(), str.getStr(), str.getStr() + str.getLength() + 1);
*buffer = address(*blob);
data.unmarshalStrings.push_back(StringData(variable, *buffer, special));
return ERRCODE_NONE;