summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 05:27:36 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:25:40 +0200
commitd46b16e1e495c153f70633d2da5c2bb0aba85cc9 (patch)
tree79134004da6c8e06ef5d1a007c4d35340c463794 /sd
parent8f684e21de081350f0ce1f0bd0420f4775c5388d (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 'sd')
-rw-r--r--sd/source/filter/eppt/eppt.cxx2
-rw-r--r--sd/source/filter/eppt/epptso.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx
index 91278bb19057..1af0ef152396 100644
--- a/sd/source/filter/eppt/eppt.cxx
+++ b/sd/source/filter/eppt/eppt.cxx
@@ -1418,7 +1418,7 @@ bool PPTWriter::ImplWriteAtomEnding()
mpStrm->Seek( nOfs ); // Fill the VBAInfoAtom with the correct index to the persisttable
mpStrm->WriteUInt32( nPersistEntrys )
.WriteUInt32( n1 )
- .WriteInt32( sal_Int32(2) );
+ .WriteInt32( 2 );
mpStrm->Seek( nOldPos );
}
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index c7b60994db06..09aad261964d 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -1068,7 +1068,7 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u
PPTExParaSheet& rParaSheet = mpStyleSheet->GetParaSheet( nTextInstance );
rOut.WriteUInt32( (sal_uInt32)( ( EPP_TextHeaderAtom << 16 ) | ( nAtomInstance << 4 ) ) ).WriteUInt32( (sal_uInt32)4 )
- .WriteInt32( sal_Int32(nTextInstance) );
+ .WriteInt32( nTextInstance );
if ( mbEmptyPresObj )
mnTextSize = 0;