Commits

Anonymous committed b2d458f Merge

CWS-TOOLING: integrate CWS calc32stopper7_DEV300

  • Participants
  • Parent commits 375833f, 7155aae

Comments (0)

Files changed (1)

File sc/source/core/data/cell2.cxx

        Union of these references must form one range and their
        intersection must be empty set.
     */
+
+    // Detect the simple case of exactly one reference in advance without all 
+    // overhead.
+    // #i107741# Doing so actually makes outlines using SUBTOTAL(x;reference) 
+    // work again, where the function does not have only references.
+    if (HasOneReference( rRange))
+        return true;
+
     pCode->Reset();
     // Get first reference, if any
     ScToken* const pFirstReference(