[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sc/source

Eike Rathke erack at redhat.com
Sat Sep 2 02:48:14 UTC 2017


 sc/source/core/tool/parclass.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b78f39f487e70aec6170e186160fb0b7df862198
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Aug 31 17:22:31 2017 +0200

    Classify ocPercentSign as Array capable
    
    Actually it's implemented in RPN as Array 100 ocDiv, and ocDiv is Array
    capable. Not being classified as Array capable resulted in ArraySize times
    matrix-Div being executed, effectively ArraySize*ArraySize div operations.
    
    Change-Id: I23366b5aa9c146cc59dc880f2a561348f7977329
    (cherry picked from commit 1897812ed4ab11409de8a58a75c3b631332ba92d)
    Reviewed-on: https://gerrit.libreoffice.org/41763
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index 1c48eae27a88..b2bb2be6de55 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -167,6 +167,7 @@ const ScParameterClassification::RawData ScParameterClassification::pRawData[] =
     { ocOffset,          {{ Reference, Value, Value, Value, Value                }, 0, Reference }},
     { ocOr,              {{ Reference                                            }, 1, Value }},
     { ocPearson,         {{ ForceArray, ForceArray                               }, 0, Value }},
+    { ocPercentSign,     {{ Array                                                }, 0, Value }},
     { ocPercentile,      {{ Reference, Value                                     }, 0, Value }},
     { ocPercentile_Exc,  {{ Reference, Value                                     }, 0, Value }},
     { ocPercentile_Inc,  {{ Reference, Value                                     }, 0, Value }},


More information about the Libreoffice-commits mailing list