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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/filter/eppt/eppt.cxx | 2 | ||||
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 2 |
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; |