summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-19 17:08:47 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-19 17:09:25 +0000
commit4229f1b186b84ab36d97b723a6a1f81e79d40d82 (patch)
treeb04e635c14842a1b81613576388b8769aa9f4567 /sd
parentc5d4f4967e5d9d0220fadf3f313ddc35002cdf27 (diff)
WaE: ongoing stream operator cleanup, persuade ints they are sal_Int32s
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/eppt.cxx2
-rw-r--r--sd/source/filter/eppt/epptso.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx
index 7da27aa4b243..1f7606fa7a30 100644
--- a/sd/source/filter/eppt/eppt.cxx
+++ b/sd/source/filter/eppt/eppt.cxx
@@ -1457,7 +1457,7 @@ sal_Bool PPTWriter::ImplWriteAtomEnding()
mpStrm->Seek( nOfs ); // Fill the VBAInfoAtom with the correct index to the persisttable
*mpStrm << nPersistEntrys
<< n1
- << 2;
+ << sal_Int32(2);
mpStrm->Seek( nOldPos );
}
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 794953832ceb..2e5102b1c361 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -255,7 +255,7 @@ sal_uInt32 PPTWriter::ImplOutlineViewInfoContainer( SvStream* pStrm )
<< (sal_uInt32)( EPP_ViewInfoAtom << 16 ) << (sal_uInt32)52
<< (sal_Int32)170 << (sal_Int32)200 << (sal_Int32)170 << (sal_Int32)200 // scaling atom - Keeps the current scale
<< (sal_Int32)170 << (sal_Int32)200 << (sal_Int32)170 << (sal_Int32)200 // scaling atom - Keeps the previous scale
- << (sal_Int32)0x17ac << 0xdda // Origin - Keeps the origin in master coordinates
+ << (sal_Int32)0x17ac << (sal_Int32)0xdda // Origin - Keeps the origin in master coordinates
<< (sal_Int32)-780 << (sal_Int32)-84 // Origin
<< (sal_uInt8)1 // bool1 varScale - Set if zoom to fit is set
<< (sal_uInt8)0 // bool1 draftMode - Not used
@@ -1151,7 +1151,7 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u
PPTExParaSheet& rParaSheet = mpStyleSheet->GetParaSheet( nTextInstance );
rOut << (sal_uInt32)( ( EPP_TextHeaderAtom << 16 ) | ( nAtomInstance << 4 ) ) << (sal_uInt32)4
- << nTextInstance;
+ << sal_Int32(nTextInstance);
if ( mbEmptyPresObj )
mnTextSize = 0;