sc/source/core/data/dptabres.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit b013342bf7b16cb2393bd7e020707ff58f4d88de
Author:     Andreas Heinisch <andreas.heini...@yahoo.de>
AuthorDate: Wed Jun 15 17:33:53 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Jun 21 14:10:44 2022 +0200

    tdf#113002 - Add numeric flag to recurring data fields
    
    Change-Id: Ife6ace86807f85c644ff919621f562c251c6690f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135915
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de>
    (cherry picked from commit 30529311ffbbe193765aff0ff353d3409fce3a3e)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136133
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index d41604eee45e..1037eac1c013 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -1408,7 +1408,13 @@ void ScDPResultMember::FillMemberResults(
 
         //  set "continue" flag (removed for subtotals later)
         for (tools::Long i=1; i<nSize; i++)
+        {
             pArray[rPos+i].Flags |= sheet::MemberResultFlags::CONTINUE;
+            // tdf#113002 - add numeric flag to recurring data fields
+            if (bIsNumeric)
+                pArray[rPos + i].Flags |= sheet::MemberResultFlags::NUMERIC;
+        }
+
         if ( pParentLevel && pParentLevel->getRepeatItemLabels() )
         {
             tools::Long nSizeNonEmpty = nSize;

Reply via email to