diff options
Diffstat (limited to 'svl/source/items/intitem.cxx')
-rw-r--r-- | svl/source/items/intitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx index 37d4df9b6881..fc6ab6a760b7 100644 --- a/svl/source/items/intitem.cxx +++ b/svl/source/items/intitem.cxx @@ -34,7 +34,7 @@ TYPEINIT1_AUTOFACTORY(SfxByteItem, CntByteItem); SfxPoolItem * SfxByteItem::Create(SvStream & rStream, sal_uInt16) const { short nValue = 0; - rStream >> nValue; + rStream.ReadInt16( nValue ); return new SfxByteItem(Which(), sal_uInt8(nValue)); } @@ -51,7 +51,7 @@ SfxInt16Item::SfxInt16Item(sal_uInt16 which, SvStream & rStream): { DBG_CTOR(SfxInt16Item, 0); short nTheValue = 0; - rStream >> nTheValue; + rStream.ReadInt16( nTheValue ); m_nValue = nTheValue; } |