summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-05-02 12:45:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-02 18:00:02 +0200
commit211a63a780659b404541cae619d10f204a8bfe65 (patch)
tree0e067c3c61e413402eae72f5cdb75133b13a82e5 /unotools
parent5c5aaf2b0907006334942fa178a8a254ac2f789c (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/fontcfg.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}
}