summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svl/source/items/cintitem.cxx8
-rw-r--r--svl/source/items/slstitm.cxx6
2 files changed, 8 insertions, 6 deletions
diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx
index 065c0b0d058a..2ae7c4714557 100644
--- a/svl/source/items/cintitem.cxx
+++ b/svl/source/items/cintitem.cxx
@@ -301,9 +301,8 @@ CntInt32Item::CntInt32Item(sal_uInt16 which, SvStream & rStream) :
SfxPoolItem(which)
{
DBG_CTOR(CntInt32Item, 0);
- long nTheValue = 0;
- rStream >> nTheValue;
- m_nValue = nTheValue;
+ //fdo#39428 SvStream no longer supports operator>>(long&)
+ rStream >> m_nValue;
}
//============================================================================
@@ -380,7 +379,8 @@ SfxPoolItem * CntInt32Item::Create(SvStream & rStream, sal_uInt16) const
SvStream & CntInt32Item::Store(SvStream &rStream, sal_uInt16) const
{
DBG_CHKTHIS(CntInt32Item, 0);
- rStream << long(m_nValue);
+ //fdo#39428 SvStream no longer supports operator<<(long)
+ rStream << m_nValue;
return rStream;
}
diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx
index d3ea9dc9476e..d3e41c84f2ca 100644
--- a/svl/source/items/slstitm.cxx
+++ b/svl/source/items/slstitm.cxx
@@ -89,7 +89,8 @@ SfxStringListItem::SfxStringListItem( sal_uInt16 which, SvStream& rStream ) :
SfxPoolItem( which ),
pImp(NULL)
{
- long nEntryCount;
+ //fdo#39428 SvStream no longer supports operator>>(long&)
+ sal_Int32 nEntryCount;
rStream >> nEntryCount;
if( nEntryCount )
@@ -202,7 +203,8 @@ SvStream& SfxStringListItem::Store( SvStream & rStream, sal_uInt16 ) const
{
if( !pImp )
{
- rStream << 0L;
+ //fdo#39428 SvStream no longer supports operator<<(long)
+ rStream << (sal_Int32) 0;
return rStream;
}