diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-01-19 16:16:57 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-01-19 16:20:12 +0200 |
commit | 35b5cc9522a1c496a432b49534b1b202f99113e0 (patch) | |
tree | a6098448bc1bdb5fb45be957703e881dc5f09e84 /basic | |
parent | 13a752cdbb9e2c1e2c0f922158f03fc70c12245c (diff) |
Fix SvStream::operator>> problem that showed up with the Android gcc 4.4.3
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index c6c95dc189cc..e67335cec4a4 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -1566,8 +1566,11 @@ sal_Bool SbxValue::LoadData( SvStream& r, sal_uInt16 ) // Match the Int on this system? if( n > SAL_TYPES_SIZEOFINT ) r >> aData.nLong, aData.eType = SbxLONG; - else - r >> aData.nInt; + else { + sal_Int32 nInt; + r >> nInt; + aData.nInt = nInt; + } break; } case SbxUINT: |