Commit Graph
1495 Commits
Author SHA1 Message Date
bl4ze4447 2bbd8be0d2 tdf#166673 Fix Space(-1) behaviour
Change-Id: I3ea3a538dec449f752ca17122091b410221b7fe7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203225
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
(cherry picked from commit c15d89a0a6)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204119
2026-04-23 09:12:12 +02:00
Simon Chenery e18e497f65 tdf#154285 Check too many arguments to BASIC INT function
Change-Id: Ia0d71efc326fcfad13bc8edc9d15d5ef491db265
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197702
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
(cherry picked from commit 58da9d878d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197713
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-01-21 10:12:25 +01:00
Vaibhav Singh 33791da3a8 tdf#154285 Check upper bound of arguments in SbRtl_CreateObject
function

Change-Id: I64ada278c0ba8d178f62f28c4e4e9911ce3f5d1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195732
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit 0e6c78dcd6)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195765
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-12-17 11:38:12 +01:00
Simon Chenery b893350fc3 tdf#154285 Check too many arguments to BASIC EXP function
Change-Id: I9963267c9b910a2a2346e27e7c8cb4220c0ab964
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195205
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
(cherry picked from commit 01d31536b5)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195290
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-12-09 15:32:41 +01:00
Stephan Bergmann 1fc95f3bfa !HAVE_FEATURE_SCRIPTING apparently needs SbiRuntime::isVBAEnabled now
...after 76aafa18b7 "tdf#162711 - VBASupport
requires banker’s rounding for integer conversions", as linking started to fail
with

> wasm-ld: error: /home/sberg/lo-wasm-upstream/core/instdir/program/libsblo.a(sbxint.o): undefined symbol: SbiRuntime::isVBAEnabled()

Change-Id: I579f300390eabfefd5f02c277771d5f8c937105c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194734
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-11-28 00:12:07 +01:00
Daniel Lee 96ad8c680c tdf#82580 Remove prewin.h/postwin.h headers
Change-Id: Ic15376d38ad8dc5ede3bbb90c9021c5d4496b5d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194297
Tested-by: Jenkins
Reviewed-by: Devansh Varshney <varshney.devansh614@gmail.com>
Reviewed-by: Hossein <hossein@libreoffice.org>
2025-11-24 00:23:03 +01:00
Simon Chenery aa886d1e3e tdf#154285 Check too many arguments to BASIC ATN function
Change-Id: I521b62358ad810f778c96c90c48ff8a9fe2a3ae6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194224
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-11-20 06:12:31 +01:00
Ludwig Temmel 5d8fe7fbc7 tdf#147132 Flatten Basic function implementations
Flattened SbRtl_FileExists()

Change-Id: I5e635d5c05ad7b4f1497530f075e580935870608
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194081
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-11-17 05:21:28 +01:00
Gabor Kelemen fd2e467ba3 tdf#146619 Run IWYU in fw decl mode on include/[a-c]*
After recent commit 851fb75779
recheck these directories in include/ again
to test drive the new --headersfwd mode of bin/find-unneeded-includes

Change-Id: I0ede437c4f9958cd98210ed1760a5b98ea8bd1ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192377
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-08 09:37:19 +01:00
Mike Kaganski 3ab2560526 tdf#169147: handle errors creating icu::RegexMatcher
Regression after commit 38f731ff67
(tdf#160478: fix Basic LIKE operator, 2024-04-02).

Change-Id: I4fae01e56cb91d54adba54c3787f576f60f8b1f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193202
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-10-30 18:18:57 +01:00
Sergey Anisimov e789e9135d tdf#145614 - Convert #define to enum or constexpr
Change-Id: I8b08c068b096a19febf88d70a23959e572b96640
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191982
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Jenkins
2025-10-30 14:16:40 +01:00
Jesus Solis 21ffeffaf6 tdf#154285 check for too many arguments in BASIC cos function
Change-Id: I3d4e1b059e5a8d4223b476df1805ed38d2e653be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192420
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-10-15 08:18:28 +02:00
Caolán McNamara 41a20e67c8 cid#1421169 Uncaught exception
and

cid#1421161 Uncaught exception
cid#1421146 Uncaught exception
cid#1421145 Uncaught exception
cid#1421100 Uncaught exception
cid#1659879 Uncaught exception

Change-Id: Ib117e8f2de0d51189d7277d3eec8a1ed685f0724
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191947
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-06 11:22:08 +02:00
Caolán McNamara 153b4dc2e0 drop some more COVERITY stuff
Change-Id: I5964880c3eb62875c45e3262a9c657f7bade236d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191946
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-06 11:22:01 +02:00
Simon Chenery 136688ce63 tdf#154285 Check too many arguments to BASIC SIN function
Change-Id: I0b6aa9b39c62d906fcc2e627057dae07807a6b1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191862
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-10-05 11:30:54 +02:00
Mike Kaganski 8323fcc828 'd' can't appear in the 'added by older versions' compatibility code
I added the code that I remove here in commit
22d7827c66 (tdf#168569: support date
values in string pool, 2025-09-26), but this is section to handle
old images, after commit 3bcfb1aac1
(tdf#143707 - Change strategy to support suffix type characters,
2021-08-10) the suffixes are written in a way that is handled in
SbiImage::GetString.

Change-Id: Ia2ad05f1e146dc40686f2baf07f178331f1ff4a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191561
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-09-27 13:32:11 +02:00
Mike Kaganski 22d7827c66 tdf#168569: support date values in string pool
Commit f45463d8e2 (tdf#93727 Support date
literals in basic, 2017-05-24) introduced correct parsing of literals
like #2025-09-26#. However, it didn't retain the value type; there was
a discussion about that in gerrit, but no solution was found, and type
was set to double.

Later, a similar problem (storing type of value in compiled image) was
fixed in commit 5eedb3beea (tdf#142460:
properly handle boolean values in string pool, 2021-06-25).

This change reuses the same method to store date type using 'd' char in
the string pool.

Change-Id: I32e8497ece1f30980ba6d4fca248687b817348f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191555
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-09-26 23:17:10 +02:00
Mike Kaganski 92878d3216 tdf#168561: fix Str function implementation
1. If a string is passed as argument, it is returned without any changes.
For that, SbRtl_Str checks argument type, skipping processing for string.

2. Non-negative numbers are preceded by a blank space.
That already was implemented.

3. Negative numbers are preceded by a minus sign.
That was done incorrectly - a space was added for any number.

4. Dates are converted into locale-dependent strings.
That wasn't done at all - dates were converted to strings representing
the serial date. A check is implemented SbxValue::Format, to handle this.

Additionally, Format function was improved to handle such input without
format string (taking into account that it handles strings that can be
converted to numbers differently).

Change-Id: I5ac0429950e4ea8bf69b0091502b4e6dc1f4957d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191549
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-09-26 20:09:44 +02:00
Jim Chen 541c72dbad tdf#147132 - Flatten 'Basic' function implementations
Flattens function implementations by returning early when an argument
check fails rather than using if/else blocks.

Change-Id: I5adad466e41ac95ad5bde43d758babf5932ec304
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187606
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-09-02 13:17:01 +02:00
Teemu Pöytäniemi be062b15b0 tdf#147132 Flatten Basic function
Change-Id: I3c9784135389ec1d96650dbd27192528a32b7654
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190433
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2025-08-31 17:15:36 +02:00
Mike Kaganski 4b750f6ed5 Use RepeatedChar
Change-Id: I3eb055746d9600b5290f7390900ad2f932345fd7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190347
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-08-29 06:12:07 +02:00
Mike Kaganski d3504acf62 Use RepeatedUChar in basctl and basic
Change-Id: I87a6e802ef3720dd290ddbe202dad6a9220365c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190343
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-08-29 06:11:38 +02:00
Noel Grandin 36a4d7daa6 BitmapEx->Bitmap in various
places where we are constructing a Graphic by first
converting to BitmapEx, which is unnecessary, rather pass a
Bitmap to Graphic.

Change-Id: I386f68e7f5bc6ef9509352187dbe9a0774defaac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190307
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-28 08:00:13 +02:00
Gabor Kelemen c309a5785d tdf#146619 Run IWYU on basic/
Change-Id: I58883f0223a28f3ea887c37e2a86a3c31ff88546
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188749
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2025-08-18 20:19:07 +02:00
Mike Kaganski 3a4961af43 Use o3tl::{get,set}Environment instead of resp. osl_* functions
Simplifies the code, and avoids OUString internals access.
Also replace some getenv calls.

Change-Id: I5f7dc492fe87ea1fbaad6a61bc54e21f0f0c5aef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187974
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-07-17 07:03:19 +02:00
Noel Grandin 7f7b37c33e convert NfEvalDateFormat to scoped enum
Change-Id: Ief6211412cd73e59b7380d0f5ca536a38354e900
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187702
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-07-11 20:45:28 +02:00
Mike Kaganski 6337bb91cf Simplify a bit
Move variable where it's used; flatten one nested if.

Change-Id: I2ad6b03923082971317ace4d573c46cbf24efacb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187147
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-06-29 12:25:11 +02:00
Mike Kaganski 99247bfc4e tdf#149151: disambiguate method parameters and array indexes
SbiRuntime::FindElement ends with a call to CheckArray(). The latter
takes a variable, checks if that is an array and if it has parameters;
and if both are true, tries to obtain an element of the array defined
by the parameters as array indexes (using SbxDimArray::Get).

The problem was, that the variable may actually be array; it may have
parameters; but this array can be the result of a function call; the
variable may be SbxMethod; and the parameters may be for the function,
not array indexes.

Specifically, the call like

  Iif(True, Array("A","B"), Array("B","A"))

searched for an entity named Iif; found that it was a RTL method;
prepared the arguments for it (consisting of four elements: 0 - the
method itself; 1 - boolean True; 2 - array ["A", "B"]; 3 - array
["B", "A"]); the function executed, putting the correct value to the
params[0], which was the method itself (so its value became an array);
and finally, the SbxMethod variable with the array value got passed
to CheckArray. The latter found out that it's an array, and that it
has parameters (those four) - and tried to get the element, which
index was defined by the parameters.

Here comes the specifics of LibreOffice Basic's argument handling.
SbxDimArray::Get only cares about first arguments expected by the
array dimensions; it ignores the rest. Since the array was single-
dimensional, it only considered parameter 1 (parameter 0 is, by
convention, reserved for return value). That was a boolean. When it
was False, its GetInteger returned 0; and finally, CheckArray took
element 0 from the array, returning a scalar value, as if it was

  Iif(False, Array("A","B"), Array("B","A"))(0)

But when the boolean was True, another Basic specific took place:
its numerical value is -1; and trying to get element -1 from the
array resulted in "Index out of defined range".

This change disambiguates between the cases of array index, and
function parameters, checking if the variable itself, and its 0th
parameter are both SbxMethods. Then it doesn't try to treat the
parameters as indexes into the array.

Change-Id: I597f94a7e688c8bba12d87a1bd5871491c25cac0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187145
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-06-29 07:55:39 +02:00
Mike Kaganski 5a9c784cba tdf#136112: return 'Date' type from Time()
Change-Id: Id21a4c378ddf9888740b3201f109e1897b722ded
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185046
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-05-08 15:15:36 +02:00
Ahmed Khaled b710ba4850 tdf#154285 Check upper bound of arguments in SbRtl_FindObject &
SbRtl_FindPropertyObject function

Change-Id: I49b56f0231c5a19871a4a007a0bc21598920b72c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183052
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2025-05-07 07:41:52 +02:00
Nam Bui 0fbe68c63b tdf#147132 Flatten Basic function implementations
Flattened SbRtl_RmDir() and SbRtl_FuncCaller()

Change-Id: I28168d88209b0d72333849633a64f269735591f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183690
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-04-23 19:44:11 +02:00
Noel Grandin 6845b8a926 loplugin:constparam in various
Change-Id: I874a95777aed3471675bf03acfcf05ecfcb4f830
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183531
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-03-31 13:18:12 +02:00
Simon Chenery 45ff93aea2 tdf#154285 Check too many arguments to BASIC WEEKDAY function
Change-Id: I8f3044f1c8ebf12d4654b5ad173563e09897ccc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183494
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-03-31 06:48:33 +02:00
Mike Kaganski ec5bbc9a98 Simplify Val function implementation
Use o3tl::toInt64 instead of strtol, which required string conversion.

Change-Id: Ie7571834e8a126963899f340230baa14e3353b4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183489
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-03-29 21:10:37 +01:00
Mike Kaganski 4409dbbdbc Use osl_getEnvironment instead of getenv
Avoids the need to convert between OUString and OString;
and resolves a pressing Win16 compatibility issue.

Change-Id: I4cf5b6962050181a66a33c1261c9440ac7a39b82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183487
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-03-29 17:56:22 +01:00
Mike Kaganski bb57fa601a Avoid useless OUString -> OString -> OUString conversion
Change-Id: I938d13d91bc83b9fd0c018e676923c27a7cad637
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183484
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-03-29 17:03:00 +01:00
Mike Kaganski 37216049f1 tdf#165420: handle empty arguments correctly
Change-Id: Ib30cce816b2af8a780e09fa04a2129afd91fafe6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182118
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-02-25 07:35:20 +01:00
Rahul Anand b3ae7a16b5 tdf#147132: Flatten Basic function implementations
Change-Id: Iac462f843bb1437027d2e7a5b6b856d2f00deb8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181317
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-02-15 09:15:57 +01:00
Simon Chenery 6586dbe956 tdf#154285 Check too many arguments to SbRtl_Abs() for BASIC ABS function
Change-Id: I82f1df998afca37f5e14baacc9c36339596724ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181447
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-02-12 07:41:21 +01:00
Simon Chenery b22f9843e6 tdf#154285 Check correct number of arguments to SbRtl_Now function
If BASIC function NOW is called with the wrong number of arguments,
then return error code 5 (Invalid procedure call).

Change-Id: I123f316e36e6726a2cfc9d1e53664ce632af1289
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181303
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-02-09 08:56:38 +01:00
Caolán McNamara c14614439b disable SbRtl_Shell by default in kit-mode
Change-Id: I645c776bf59a718f4946c2c70edd9194f039e471
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181071
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-02-04 10:33:00 +01:00
Manish Bera d8f405ccf6 tdf#147132 Flatten Basic function implementations
Change-Id: I3a9fe3c74b869195ffa9b34f180e8e58c841d9ce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180312
Tested-by: Jenkins
Reviewed-by: Hossein   <hossein@libreoffice.org>
2025-02-03 12:49:54 +01:00
bruh 623521289e tdf#145614 Convert #define to enum
Change-Id: I146b65cc931dfc3ce2785ccb5c921e6385fbb4a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180015
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-01-19 15:58:40 +01:00
bruh c67bd0a332 tdf#147132 Flatten Basic function implementations.
Change-Id: I5e5d01c43b39f68f38290ce04b26730af362b43e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180282
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-01-16 12:42:11 +01:00
Alin Andrei Abahnencei 8e48c41a21 tdf#154285 Check upper bound of arguments in SbRtl_Second function
Signed-off-by: Alin Andrei Abahnencei <alinandrei2004@gmail.com>
Change-Id: Ib3a97f9acb7778c90aa1c172ca82cf450a1e792f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179249
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-01-09 13:20:06 +01:00
Alin Andrei Abahnencei 7419fc569f tdf#154285 Check upper bound of arguments in SbRtl_Hour function
Signed-off-by: Alin Andrei Abahnencei <alinandrei2004@gmail.com>
Change-Id: Ib372b4dfde77961e7982bd0d8f1f8598be7da726
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179252
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-01-09 13:19:13 +01:00
Alin Andrei Abahnencei 73dc528db8 tdf#154285 Check upper bound of arguments in SbRtl_Month function
Signed-off-by: Alin Andrei Abahnencei <alinandrei2004@gmail.com>
Change-Id: Ifc27af0f091c75c02d3816b83b3717fc435ad31b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179250
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-01-09 13:18:16 +01:00
Alin Andrei Abahnencei 633a787707 tdf#154285 Check upper bound of arguments in SbRtl_Day function
Signed-off-by: Alin Andrei Abahnencei <alinandrei2004@gmail.com>
Change-Id: Ic22d420f0f5596ea3a4ff9cd7e540e6c51a559ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179254
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-01-09 13:17:02 +01:00
Alin Andrei Abahnencei e08ed1d92f tdf#154285 Check upper bound of arguments in SbRtl_Year function
Signed-off-by: Alin Andrei Abahnencei <alinandrei2004@gmail.com>
Change-Id: Iffffe3988afdc91068e85beaafc5ff1580210ec6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179253
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-01-09 13:15:32 +01:00
Mike Kaganski b76d703382 tdf#164600: Return true from IsNumeric for booleans in VBASupport mode
Change-Id: Ib68f237001389c8f7b9d2771d5162a583b544b83
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179866
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-01-08 06:02:48 +01:00