diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-05-09 15:39:39 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-05-09 17:52:11 +0200 |
commit | 7c8f27e3d8ff9c22409313a093bf538256fa2f7f (patch) | |
tree | a2e33837c9a76d2c5b425facb3f3e62d5dee2894 /basic/source | |
parent | 7f987c7218b1124ce8b8fe4df9388a85b8f1a3fd (diff) |
sal_Int32 cast to tools::Long to pass to a function taking sal_Int32
Change-Id: I81bb794e6a154dd3d022b34ce1348f32c854f52b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134059
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 8cc49c2a5024..e86ac2d64c63 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -765,7 +765,7 @@ void SbRtl_FileLen(StarBASIC *, SbxArray & rPar, bool) (void)aItem.getFileStatus( aFileStatus ); nLen = static_cast<sal_Int32>(aFileStatus.getFileSize()); } - rPar.Get(0)->PutLong(static_cast<tools::Long>(nLen)); + rPar.Get(0)->PutLong(nLen); } } |