[Libreoffice-commits] .: binfilter/bf_basic

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Thu Jan 19 16:52:03 PST 2012


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

New commits:
commit 65731b5747c2753a046e02be2a1fc81a4cfacda8
Author: Norbert Thiebaud <nthiebaud at 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:


More information about the Libreoffice-commits mailing list