summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/fontbuff.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/fontbuff.cxx')
-rw-r--r--sc/source/filter/excel/fontbuff.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/fontbuff.cxx b/sc/source/filter/excel/fontbuff.cxx
index c7a6a9b5f5d1..2a0a6c07d4f5 100644
--- a/sc/source/filter/excel/fontbuff.cxx
+++ b/sc/source/filter/excel/fontbuff.cxx
@@ -97,7 +97,7 @@ void LotusFontBuffer::SetHeight( const sal_uInt16 nIndex, const sal_uInt16 nHeig
{
OSL_ENSURE( nIndex < nSize, "*LotusFontBuffer::SetHeight(): Array too small!" );
if( nIndex < nSize )
- pData[ nIndex ].Height( *( new SvxFontHeightItem( ( sal_uLong ) nHeight * 20, 100, ATTR_FONT_HEIGHT ) ) );
+ pData[ nIndex ].Height( *( new SvxFontHeightItem( static_cast<sal_uLong>(nHeight) * 20, 100, ATTR_FONT_HEIGHT ) ) );
}
void LotusFontBuffer::SetType( const sal_uInt16 nIndex, const sal_uInt16 nType )