diff options
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/items/cintitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/poolio.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx index 7d8810b8ca34..dec43629472c 100644 --- a/svl/source/items/cintitem.cxx +++ b/svl/source/items/cintitem.cxx @@ -188,7 +188,7 @@ SfxPoolItem * CntUInt16Item::Create(SvStream & rStream, sal_uInt16) const // virtual SvStream & CntUInt16Item::Store(SvStream &rStream, sal_uInt16) const { - rStream.WriteUInt16( sal_uInt16(m_nValue) ); + rStream.WriteUInt16( m_nValue ); return rStream; } diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index e6a82aa58b4a..739ce2c9f43e 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -139,8 +139,8 @@ SvStream &SfxItemPool::Store(SvStream &rStream) const rStream.WriteUInt16( SFX_ITEMPOOL_TAG_TRICK4OLD ); // Work around SfxStyleSheet bug - rStream.WriteUInt16( sal_uInt16(0) ); // Version - rStream.WriteUInt16( sal_uInt16(0) ); // Count (or else 2nd loop breaks) + rStream.WriteUInt16( 0 ); // Version + rStream.WriteUInt16( 0 ); // Count (or else 2nd loop breaks) } // Every Pool as a whole is a record @@ -172,7 +172,7 @@ SvStream &SfxItemPool::Store(SvStream &rStream) const // Workaround for bug in SetVersionMap 312 if ( SOFFICE_FILEFORMAT_31 == pImp->mnFileFormatVersion ) - rStream.WriteUInt16( sal_uInt16(nNewWhich+1) ); + rStream.WriteUInt16( nNewWhich+1 ); } } |