summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
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