diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-25 05:27:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-26 15:25:40 +0200 |
commit | d46b16e1e495c153f70633d2da5c2bb0aba85cc9 (patch) | |
tree | 79134004da6c8e06ef5d1a007c4d35340c463794 /editeng/source | |
parent | 8f684e21de081350f0ce1f0bd0420f4775c5388d (diff) |
remove unnecessary casts's
left over from our conversion of the SvStream output operators
to more specific methods
Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 4 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 1025185cdc96..a66570758304 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -359,8 +359,8 @@ bool SvxSizeItem::GetPresentation SvStream& SvxSizeItem::Store( SvStream& rStrm , sal_uInt16 /*nItemVersion*/ ) const { //#fdo39428 SvStream no longer supports operator<<(long) - rStrm.WriteInt32( sal::static_int_cast<sal_Int32>(aSize.Width()) ); - rStrm.WriteInt32( sal::static_int_cast<sal_Int32>(aSize.Height()) ); + rStrm.WriteInt32( aSize.Width() ); + rStrm.WriteInt32( aSize.Height() ); return rStrm; } diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 24c2ef1e138e..faf7f13f5990 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -701,7 +701,7 @@ SvStream& SvxNumRule::Store( SvStream &rStream ) sal_uInt16 nSetFlag(aFmtsSet[i] ? 2 : 0); // fdo#68648 store that too if(aFmts[i]) { - rStream.WriteUInt16( sal_uInt16(1 | nSetFlag) ); + rStream.WriteUInt16( 1 | nSetFlag ); if(bConvertBulletFont && aFmts[i]->GetBulletFont()) { if(!pConverter) @@ -712,7 +712,7 @@ SvStream& SvxNumRule::Store( SvStream &rStream ) aFmts[i]->Store(rStream, pConverter); } else - rStream.WriteUInt16( sal_uInt16(0 | nSetFlag) ); + rStream.WriteUInt16( 0 | nSetFlag ); } //second save of nFeatureFlags for new versions rStream.WriteUInt16( (sal_uInt16)nFeatureFlags ); |