diff options
author | AmosAidoo <aidooamos20@gmail.com> | 2024-01-16 20:33:34 +0100 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2024-01-17 14:08:11 +0100 |
commit | 4df1ee15e4482d40b90435f054ee6cfd94233a68 (patch) | |
tree | ce328de2b4366ffb1bccdc6442807fc1a1bcfccb /unotools/source | |
parent | 332d7e878300b5cf627db59ba3065f6ecf63387c (diff) |
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 <hossein@libreoffice.org>
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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&) { |