summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 20:29:27 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:27:18 +0200
commit4e26b915687acbfab5ebc260d8a7a434761721bd (patch)
treeedb43f77f729e08529c8860d3641f5743009334d /sw
parent5cefde06ea9f4347b5d2747e0d2825c3c710aa83 (diff)
remove unnecessary casts in misc calls to SvStream.Write*
left over from our conversion of the SvStream output operators to more specific methods Change-Id: Ib80032e8626f5476a89b958f590441994594f4e4
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx2
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index a9b5013ca474..92176583a05a 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -2229,7 +2229,7 @@ SwEscherEx::SwEscherEx(SvStream* pStrm, WW8Export& rWW8Wrt)
for( ; i--; pSdrObjs = rWrt.pSdrObjs, pTxtBxs = rWrt.pTxtBxs )
{
// "dummy char" (or any Count ?) - why? This knows only M$
- GetStream().WriteChar( (sal_Char)i );
+ GetStream().WriteChar( i );
OpenContainer( ESCHER_DgContainer );
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index ec257d58946a..678c65f0fb20 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -3693,9 +3693,9 @@ sal_uLong WW8Export::ReplaceCr( sal_uInt8 nChar )
void WW8AttributeOutput::TableRowEnd(sal_uInt32 nDepth)
{
if ( nDepth == 1 )
- m_rWW8Export.WriteChar( (sal_uInt8)0x07 );
+ m_rWW8Export.WriteChar( 0x07 );
else if ( nDepth > 1 )
- m_rWW8Export.WriteChar( (sal_uInt8)0x0d );
+ m_rWW8Export.WriteChar( 0x0d );
//Technically in a word document this is a different value for a row ends
//that are not row ends directly after a cell with a graphic. But it