[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sc/source

Dennis Francis (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 22 22:11:07 UTC 2020


 sc/source/core/data/segmenttree.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 503358ae84d8fbeafcc4d30e9cc51382baf6b0bd
Author:     Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Tue Jun 23 03:04:04 2020 +0530
Commit:     Dennis Francis <dennis.francis at collabora.com>
CommitDate: Tue Jun 23 00:10:31 2020 +0200

    fix tinderbox_windows compile error
    
    Change-Id: Ibe3651b6c9f37ddac6cc628f9f3ade46f102c2dd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96906
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Dennis Francis <dennis.francis at collabora.com>

diff --git a/sc/source/core/data/segmenttree.cxx b/sc/source/core/data/segmenttree.cxx
index 57600bbe39bd..4000e15d3599 100644
--- a/sc/source/core/data/segmenttree.cxx
+++ b/sc/source/core/data/segmenttree.cxx
@@ -421,7 +421,7 @@ OString ScFlatBoolRowSegments::dumpAsString()
     while (getRangeData(nRow, aRange))
     {
         if (!nRow)
-            aSegment = OStringLiteral(aRange.mbValue ? "1" : "0") + ":";
+            aSegment = (aRange.mbValue ? OStringLiteral("1") : OStringLiteral("0")) + OStringLiteral(":");
         else
             aSegment.clear();
 
@@ -488,7 +488,7 @@ OString ScFlatBoolColSegments::dumpAsString()
     while (getRangeData(nCol, aRange))
     {
         if (!nCol)
-            aSegment = OStringLiteral(aRange.mbValue ? "1" : "0") + ":";
+            aSegment = (aRange.mbValue ? OStringLiteral("1") : OStringLiteral("0")) + OStringLiteral(":");
         else
             aSegment.clear();
 


More information about the Libreoffice-commits mailing list