sc/qa/unit/data/functions/mathematical/fods/aggregate.fods |   17 +++++++++++++
 1 file changed, 17 insertions(+)

New commits:
commit d07796880aa1ac7dcd90df54c8bb4f57d2d4a612
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Feb 17 11:37:41 2023 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Feb 17 12:56:10 2023 +0000

    CppunitTest_sc_mathematical_functions_test: Add unittest
    
    it would have crashed without the fix in place
    
    Change-Id: I4b7e2c7b72ff0d2a6532b4b7945fb9a0dabe28a2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147202
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sc/qa/unit/data/functions/mathematical/fods/aggregate.fods 
b/sc/qa/unit/data/functions/mathematical/fods/aggregate.fods
index 19b91451330c..e6722a7f70ee 100644
--- a/sc/qa/unit/data/functions/mathematical/fods/aggregate.fods
+++ b/sc/qa/unit/data/functions/mathematical/fods/aggregate.fods
@@ -2565,6 +2565,23 @@
      </table:table-cell>
      <table:table-cell table:number-columns-repeated="4"/>
     </table:table-row>
+    <table:table-row table:style-name="ro2">
+     <table:table-cell table:formula="of:=COM.MICROSOFT.AGGREGATE(1;2;3;OR())" 
office:value-type="float" office:value="3" calcext:value-type="float">
+      <text:p>3</text:p>
+     </table:table-cell>
+     <table:table-cell office:value-type="float" office:value="3" 
calcext:value-type="float">
+      <text:p>3</text:p>
+     </table:table-cell>
+     <table:table-cell table:style-name="ce25" 
table:formula="of:=[.A39]=[.B39]" office:value-type="boolean" 
office:boolean-value="true" calcext:value-type="boolean">
+      <text:p>TRUE</text:p>
+     </table:table-cell>
+     <table:table-cell table:formula="of:=FORMULA([.A39])" 
office:value-type="string" office:string-value="=AGGREGATE(1;2;3;OR())" 
calcext:value-type="string">
+      <text:p>=AGGREGATE(1;2;3;OR())</text:p>
+     </table:table-cell>
+     <table:table-cell table:number-columns-repeated="6"/>
+     <table:table-cell table:style-name="ce35" 
table:number-columns-repeated="5"/>
+     <table:table-cell table:number-columns-repeated="4"/>
+    </table:table-row>
     <table:table-row table:style-name="ro2">
      <table:table-cell table:number-columns-repeated="2"/>
      <table:table-cell table:style-name="ce24"/>

Reply via email to