sc/source/core/tool/parclass.cxx |   37 +++++++++++++++++++++++++++++++++----
 1 file changed, 33 insertions(+), 4 deletions(-)

New commits:
commit 040372195a9884ffd8065a6ed8be195fd56fc6fc
Author: Eike Rathke <er...@redhat.com>
Date:   Fri Jun 2 21:58:58 2017 +0200

    Add all OpCodes without parameters to classification
    
    ... to get a clean documentation output without "parameter count
    differs" warnings.
    
    Change-Id: I75a0ccf365e203f0549b2b2fce3b0b44a1e83424

diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index b92b472a8248..f53a91895ee7 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -59,13 +59,40 @@ const ScParameterClassification::RawData 
ScParameterClassification::pRawData[] =
     { ocIfNA,            {{ Array, Reference                                   
  }, 0, Value }},
     { ocChoose,          {{ Array, Reference                                   
  }, 1, Value }},
     // Other specials.
-    { ocOpen,            {{ Bounds                                             
  }, 0, Value }},
+    { ocArrayClose,      {{ Bounds                                             
  }, 0, Value }},
+    { ocArrayColSep,     {{ Bounds                                             
  }, 0, Value }},
+    { ocArrayOpen,       {{ Bounds                                             
  }, 0, Value }},
+    { ocArrayRowSep,     {{ Bounds                                             
  }, 0, Value }},
+    { ocBad,             {{ Bounds                                             
  }, 0, Value }},
     { ocClose,           {{ Bounds                                             
  }, 0, Value }},
-    { ocSep,             {{ Bounds                                             
  }, 0, Value }},
+    { ocColRowName,      {{ Bounds                                             
  }, 0, Value }},
+    { ocColRowNameAuto,  {{ Bounds                                             
  }, 0, Value }},
+    { ocDBArea,          {{ Bounds                                             
  }, 0, Value }},
+    { ocMatRef,          {{ Bounds                                             
  }, 0, Value }},
+    { ocMissing,         {{ Bounds                                             
  }, 0, Value }},
     { ocNoName,          {{ Bounds                                             
  }, 0, Value }},
+    { ocOpen,            {{ Bounds                                             
  }, 0, Value }},
+    { ocSep,             {{ Bounds                                             
  }, 0, Value }},
+    { ocSkip,            {{ Bounds                                             
  }, 0, Value }},
+    { ocSpaces,          {{ Bounds                                             
  }, 0, Value }},
     { ocStop,            {{ Bounds                                             
  }, 0, Value }},
-    { ocUnion,           {{ Reference, Reference                               
  }, 0, Reference }},
-    { ocRange,           {{ Reference, Reference                               
  }, 0, Reference }},
+    { ocStringXML,       {{ Bounds                                             
  }, 0, Value }},
+    { ocTableRef,        {{ Bounds                                             
  }, 0, Value }},
+    { ocTableRefClose,   {{ Bounds                                             
  }, 0, Value }},
+    { ocTableRefItemAll,     {{ Bounds                                         
  }, 0, Value }},
+    { ocTableRefItemData,    {{ Bounds                                         
  }, 0, Value }},
+    { ocTableRefItemHeaders, {{ Bounds                                         
  }, 0, Value }},
+    { ocTableRefItemThisRow, {{ Bounds                                         
  }, 0, Value }},
+    { ocTableRefItemTotals,  {{ Bounds                                         
  }, 0, Value }},
+    { ocTableRefOpen,    {{ Bounds                                             
  }, 0, Value }},
+    // Error constants.
+    { ocErrDivZero,      {{ Bounds                                             
  }, 0, Value }},
+    { ocErrNA,           {{ Bounds                                             
  }, 0, Value }},
+    { ocErrName,         {{ Bounds                                             
  }, 0, Value }},
+    { ocErrNull,         {{ Bounds                                             
  }, 0, Value }},
+    { ocErrNum,          {{ Bounds                                             
  }, 0, Value }},
+    { ocErrRef,          {{ Bounds                                             
  }, 0, Value }},
+    { ocErrValue,        {{ Bounds                                             
  }, 0, Value }},
     // Functions with Value parameters only but not in resource.
     { ocBackSolver,      {{ Value, Value, Value                                
  }, 0, Value }},
     { ocTableOp,         {{ Value, Value, Value, Value, Value                  
  }, 0, Value }},
@@ -181,6 +208,7 @@ const ScParameterClassification::RawData 
ScParameterClassification::pRawData[] =
     { ocQuartile_Exc,    {{ Reference, Value                                   
  }, 0, Value }},
     { ocQuartile_Inc,    {{ Reference, Value                                   
  }, 0, Value }},
     { ocRSQ,             {{ ForceArray, ForceArray                             
  }, 0, Value }},
+    { ocRange,           {{ Reference, Reference                               
  }, 0, Reference }},
     { ocRank,            {{ Value, Reference, Value                            
  }, 0, Value }},
     { ocRank_Avg,        {{ Value, Reference, Value                            
  }, 0, Value }},
     { ocRank_Eq,         {{ Value, Reference, Value                            
  }, 0, Value }},
@@ -213,6 +241,7 @@ const ScParameterClassification::RawData 
ScParameterClassification::pRawData[] =
     { ocTextJoin_MS,     {{ Reference, Value, Reference                        
  }, 1, Value }},
     { ocTrend,           {{ Reference, Reference, Reference, Value             
  }, 0, Value }},
     { ocTrimMean,        {{ Reference, Value                                   
  }, 0, Value }},
+    { ocUnion,           {{ Reference, Reference                               
  }, 0, Reference }},
     { ocVLookup,         {{ Value, ReferenceOrForceArray, Value, Value         
  }, 0, Value }},
     { ocVar,             {{ Reference                                          
  }, 1, Value }},
     { ocVarA,            {{ Reference                                          
  }, 1, Value }},
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to