From 211a63a780659b404541cae619d10f204a8bfe65 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 2 May 2021 12:45:42 +0200 Subject: sal_uLong->sal_uInt32 in ImplFontAttrs Change-Id: If0f9304eee98b442a5d3b4cdbf71230461e830bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114994 Tested-by: Jenkins Reviewed-by: Noel Grandin --- unotools/source/config/fontcfg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unotools') diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx index d94a7bfdc661..7f6d68e8a40f 100644 --- a/unotools/source/config/fontcfg.cxx +++ b/unotools/source/config/fontcfg.cxx @@ -939,7 +939,7 @@ FontWidth FontSubstConfiguration::getSubstWidth( const css::uno::Reference< XNam ImplFontAttrs FontSubstConfiguration::getSubstType( const css::uno::Reference< XNameAccess >& rFont, const OUString& rType ) const { - sal_uLong type = 0; + sal_uInt32 type = 0; try { Any aAny = rFont->getByName( rType ); @@ -955,7 +955,7 @@ ImplFontAttrs FontSubstConfiguration::getSubstType( const css::uno::Reference< X for( int k = 0; k < 32; k++ ) if( aToken.equalsIgnoreAsciiCaseAscii( pAttribNames[k] ) ) { - type |= sal_uLong(1) << k; + type |= sal_uInt32(1) << k; break; } } -- cgit