tdf#114441 Convert sal_uLong to sal_Int32

Update sal_uLong to sal_Int32 for nKey variable. Signed 32 bit variables
have been used for similar variables within numfmuno.cxx and
numfmuno.hxx

Change-Id: Iabb15fe70fec9b28f675d6a63a6a36b1fd91439f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161822
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
Kira Tubo
2024-01-10 19:05:36 +01:00
committed by Ilmari Lauhakangas
parent 986b5bb3c1
commit 9d7d93bab8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -639,7 +639,7 @@ uno::Sequence<OUString> SAL_CALL SvNumberFormatsObj::getSupportedServiceNames()
return { "com.sun.star.util.NumberFormats" };
}
SvNumberFormatObj::SvNumberFormatObj( SvNumberFormatsSupplierObj& rParent, sal_uLong nK, ::comphelper::SharedMutex _aMutex )
SvNumberFormatObj::SvNumberFormatObj( SvNumberFormatsSupplierObj& rParent, sal_Int32 nK, ::comphelper::SharedMutex _aMutex )
:m_xSupplier( &rParent )
,nKey( nK )
,m_aMutex(std::move( _aMutex ))
+2 -2
View File
@@ -136,11 +136,11 @@ class SvNumberFormatObj : public cppu::WeakImplHelper<
private:
rtl::Reference<SvNumberFormatsSupplierObj>
m_xSupplier;
sal_uLong nKey;
sal_Int32 nKey;
mutable ::comphelper::SharedMutex m_aMutex;
public:
SvNumberFormatObj( SvNumberFormatsSupplierObj& rParent, sal_uLong nK, ::comphelper::SharedMutex _aMutex );
SvNumberFormatObj( SvNumberFormatsSupplierObj& rParent, sal_Int32 nK, ::comphelper::SharedMutex _aMutex );
virtual ~SvNumberFormatObj() override;
// XPropertySet