diff options
Diffstat (limited to 'editeng/source/rtf/rtfitem.cxx')
-rw-r--r-- | editeng/source/rtf/rtfitem.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx index e891184b8c14..fa8fed89bfdd 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -289,8 +289,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet ) if( !pAkt ) break; - pAkt->nStyleNo = sal_uInt16( nStyleNo ); - + pAkt->nStyleNo = nStyleNo; } break; @@ -439,8 +438,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet ) if( IsCalcValue() ) CalcValue(); - nTokenValue = short( 100L * aLSpace.GetLineHeight() - / long( nTokenValue ) ); + nTokenValue = short( 100L * aLSpace.GetLineHeight() / nTokenValue ); if( nTokenValue > 200 ) // Data value for PropLnSp nTokenValue = 200; // is one BYTE !!! |