summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 20:19:30 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:27:17 +0200
commit5cefde06ea9f4347b5d2747e0d2825c3c710aa83 (patch)
tree7f24ac5f1fe1749ea8c0135c73de80745b1c7508 /svx
parent04fd62096fca2c0b917ac6172104399e65933585 (diff)
remove unnecessary casts in calls to SvStream.WriteUInt32
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I1d848f19f82783e6eabf2da37dbde78fe36ea1e0
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galtheme.cxx2
-rw-r--r--svx/source/items/hlnkitem.cxx4
-rw-r--r--svx/source/xoutdev/xattr.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index dea0c106b485..72891609f1a9 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -1361,7 +1361,7 @@ SvStream& GalleryTheme::WriteData( SvStream& rOStm ) const
const long nReservePos = rOStm.Tell();
boost::scoped_ptr<VersionCompat> pCompat(new VersionCompat( rOStm, STREAM_WRITE, 2 ));
- rOStm.WriteUInt32( (sal_uInt32) GetId() ).WriteUChar( IsThemeNameFromResource() ); // From version 2 and up
+ rOStm.WriteUInt32( GetId() ).WriteUChar( IsThemeNameFromResource() ); // From version 2 and up
pCompat.reset();
diff --git a/svx/source/items/hlnkitem.cxx b/svx/source/items/hlnkitem.cxx
index ba289978e3d2..d75ad8edb42e 100644
--- a/svx/source/items/hlnkitem.cxx
+++ b/svx/source/items/hlnkitem.cxx
@@ -42,10 +42,10 @@ SvStream& SvxHyperlinkItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/
// UNICODE: rStrm << sTarget;
rStrm.WriteUniOrByteString(sTarget, rStrm.GetStreamCharSet());
- rStrm.WriteUInt32( (sal_uInt32) eType );
+ rStrm.WriteUInt32( eType );
// marker for versioninfo
- rStrm.WriteUInt32( (sal_uInt32) HYPERLINKFF_MARKER );
+ rStrm.WriteUInt32( HYPERLINKFF_MARKER );
// new data
// UNICODE: rStrm << sIntName;
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index edba2e57b731..f37e4a4cd6e7 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -702,10 +702,10 @@ SvStream& XLineDashItem::Store( SvStream& rOut, sal_uInt16 nItemVersion ) const
{
rOut.WriteInt32( aDash.GetDashStyle() );
rOut.WriteUInt16( aDash.GetDots() );
- rOut.WriteUInt32( (sal_uInt32) aDash.GetDotLen() );
+ rOut.WriteUInt32( aDash.GetDotLen() );
rOut.WriteUInt16( aDash.GetDashes() );
- rOut.WriteUInt32( (sal_uInt32) aDash.GetDashLen() );
- rOut.WriteUInt32( (sal_uInt32) aDash.GetDistance() );
+ rOut.WriteUInt32( aDash.GetDashLen() );
+ rOut.WriteUInt32( aDash.GetDistance() );
}
return rOut;