unotools/source/ucbhelper/ucblockbytes.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4df1ee15e4482d40b90435f054ee6cfd94233a68
Author:     AmosAidoo <[email protected]>
AuthorDate: Tue Jan 16 20:33:34 2024 +0100
Commit:     Hossein <[email protected]>
CommitDate: Wed Jan 17 14:08:11 2024 +0100

    tdf#114441 convert sal_uLong to appropriate type
    
    getLength function returns sal_Int64 hence the change.
    The function cast is removed to avoid redundant casting.
    
    Change-Id: Ia947c544efca18d0495a691aa4ad3de5e4617d6d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162183
    Tested-by: Jenkins
    Reviewed-by: Hossein <[email protected]>

diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx 
b/unotools/source/ucbhelper/ucblockbytes.cxx
index 182b1f674e1c..8cb0e8205d34 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -1252,7 +1252,7 @@ ErrCode UcbLockBytes::Stat( SvLockBytesStat *pStat ) const
 
     try
     {
-        pStat->nSize = sal_uLong(xSeekable->getLength());
+        pStat->nSize = xSeekable->getLength();
     }
     catch (const IOException&)
     {

Reply via email to