basic/source/sbx/sbxdec.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 07339467ffce064ca507370d0b4294c2e0e8f4d4 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Thu Nov 5 07:35:44 2020 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Thu Nov 5 07:32:47 2020 +0100 Use LONG here ... since VarDecFromI4 WinAPI uses LONG [1]. Reverts commit 6436302f40252bc6619e304e2051115fee902e20 (partially) and commit 6436302f40252bc6619e304e2051115fee902e20. [1] https://docs.microsoft.com/en-us/windows/win32/api/oleauto/nf-oleauto-vardecfromi4 Change-Id: I5b0805b5b22bea0017b4b2f40400445ab587f2c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105226 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx index 1a7fb86b2a55..e47713445cf7 100644 --- a/basic/source/sbx/sbxdec.cxx +++ b/basic/source/sbx/sbxdec.cxx @@ -19,7 +19,6 @@ #include <o3tl/char16_t2wchar_t.hxx> -#include <tools/long.hxx> #include <basic/sberrors.hxx> #include "sbxconv.hxx" @@ -157,7 +156,7 @@ void SbxDecimal::setShort( sal_Int16 val ) void SbxDecimal::setLong( sal_Int32 val ) { - VarDecFromI4( static_cast<tools::Long>(val), &maDec ); + VarDecFromI4(static_cast<LONG>(val), &maDec); } void SbxDecimal::setUShort( sal_uInt16 val ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits