svl/source/numbers/numfmuno.cxx |    2 +-
 svl/source/numbers/numfmuno.hxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 9d7d93bab83f7a421da6c2a3c3d68f54de93ab2b
Author:     Kira Tubo <kira.t...@gmail.com>
AuthorDate: Mon Jan 8 20:55:36 2024 -0800
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Wed Jan 10 19:05:36 2024 +0100

    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.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx
index 58094faa54e7..0c68ea5db8a8 100644
--- a/svl/source/numbers/numfmuno.cxx
+++ b/svl/source/numbers/numfmuno.cxx
@@ -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 ))
diff --git a/svl/source/numbers/numfmuno.hxx b/svl/source/numbers/numfmuno.hxx
index f88c2e6429af..8e9593d51a64 100644
--- a/svl/source/numbers/numfmuno.hxx
+++ b/svl/source/numbers/numfmuno.hxx
@@ -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

Reply via email to