summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-07-17 17:41:00 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-07-18 09:29:20 +0100
commit5ac018f9e3af2ed5fa54997fd67308b04c4ea730 (patch)
treeca7da6b2641c3ffa0930a1115017dd1b841edcfd /basic
parent63c508e3e86a140e35161c45d2be97779746f6cb (diff)
WaE: basic compile snafu
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvalue.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index b30a41efc373..da2260873b73 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -1564,8 +1564,11 @@ sal_Bool SbxValue::LoadData( SvStream& r, sal_uInt16 )
// Match the UInt on this system?
if( n > SAL_TYPES_SIZEOFINT )
r >> aData.nULong, aData.eType = SbxULONG;
- else
- r >> (sal_uInt32&)aData.nUInt;
+ else {
+ sal_uInt32 nUInt;
+ r >> nUInt;
+ aData.nUInt = nUInt;
+ }
break;
}
case SbxEMPTY: