summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvalue.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index e1aa67de13f8..c6c95dc189cc 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -1500,12 +1500,12 @@ sal_Bool SbxValue::LoadData( SvStream& r, sal_uInt16 )
}
break;
}
- case SbxSALUINT64:
+ //#fdo39428 SvStream no longer supports operator>>(long&)
+ //SvStream now has operator>>(sal_Int64&)
case SbxSALINT64:
- // Rather ugly use of the union here because we only
- // have a SvStream& SvStream::operator>>(sal_uInt64&) available to us
- // There is no SvStream::operator>>(sal_Int64&) due to conflict with
- // SvStream::operator>>(long&) ( at least on 64 bit linux )
+ r >> aData.nInt64;
+ break;
+ case SbxSALUINT64:
r >> aData.uInt64;
break;
case SbxCURRENCY: