[Libreoffice-commits] .: Branch 'libreoffice-3-3' - basic/source

Noel Power noelp at kemper.freedesktop.org
Tue Feb 15 03:38:11 PST 2011


 basic/source/runtime/dllmgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6f0888190f4d1ce0a101eaf9f9642e61c0376999
Author: Noel Power <noel.power at novell.com>
Date:   Tue Feb 15 11:36:43 2011 +0000

    ported fix from DEV300m98 ( fixes i#115716 & fdo#33964 )
    
    based off commit id db2c7179427e113d6decc3be5dc8a2f3cac3da17
    
    Signed-off-by: Michael Meeks <michael.meeks at novell.com>

diff --git a/basic/source/runtime/dllmgr.cxx b/basic/source/runtime/dllmgr.cxx
index 2afaa35..1021bcc 100644
--- a/basic/source/runtime/dllmgr.cxx
+++ b/basic/source/runtime/dllmgr.cxx
@@ -207,7 +207,7 @@ 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;


More information about the Libreoffice-commits mailing list