binfilter/bf_basic/source/sbx/sbxvalue.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 65731b5747c2753a046e02be2a1fc81a4cfacda8
Author: Norbert Thiebaud <nthieb...@gmail.com>
Date:   Thu Jan 19 18:04:47 2012 -0600

    fix SvStream:;operator>> problem

diff --git a/binfilter/bf_basic/source/sbx/sbxvalue.cxx 
b/binfilter/bf_basic/source/sbx/sbxvalue.cxx
index 44a7849..2da46d3 100644
--- a/binfilter/bf_basic/source/sbx/sbxvalue.cxx
+++ b/binfilter/bf_basic/source/sbx/sbxvalue.cxx
@@ -1550,7 +1550,11 @@ BOOL SbxValue::LoadData( SvStream& r, USHORT )
             if( n > SAL_TYPES_SIZEOFINT )
                 r >> aData.nLong, aData.eType = SbxLONG;
             else
-                r >> aData.nInt;
+            {
+                sal_Int32 nInt;
+                r >> nInt;
+                aData.nInt = nInt;
+            }
             break;
         }
         case SbxUINT:
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to