summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-05-02 18:52:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-02 21:26:09 +0200
commit9c930c4f3109d123c0831d0fcecf9c8b32e5bbc7 (patch)
treee604399244d4c9503c367df4395a822cad3069b3 /sc/source/filter
parent2223b657c60b91f8f2bef05ec18c42bbe6106a71 (diff)
sal_uLong->sal_uInt32 in SvxFontHeightItem
Change-Id: Id9bec39765d504d787e5421bf40e88e09c5f180d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115006 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter')
-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 bb25f6409b43..5f5a0f099ae6 100644
--- a/sc/source/filter/excel/fontbuff.cxx
+++ b/sc/source/filter/excel/fontbuff.cxx
@@ -84,7 +84,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( std::make_unique<SvxFontHeightItem>( static_cast<sal_uLong>(nHeight) * 20, 100, ATTR_FONT_HEIGHT ) );
+ pData[ nIndex ].Height( std::make_unique<SvxFontHeightItem>( static_cast<sal_uInt32>(nHeight) * 20, 100, ATTR_FONT_HEIGHT ) );
}
void LotusFontBuffer::SetType( const sal_uInt16 nIndex, const sal_uInt16 nType )