[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Wed Nov 29 13:09:51 UTC 2017


 sc/source/ui/view/tabview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit af8242b4e35faaa84c23ef1f3f4b34d279e90813
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 29 14:09:07 2017 +0100

    loplugin:implicitboolconversion
    
    Change-Id: I27c9002f37bed1860815fcfdbd1dc3675ad5f5ca

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 39e822320ede..4064316d6b76 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2679,7 +2679,7 @@ void lcl_createGroupsData(
                 aGroupData += "\"index\": \"" + OUString::number(nIndex) + "\", ";
                 aGroupData += "\"startPos\": \"" + OUString::number(rGroupStartPositions[nLevel]) + "\", ";
                 aGroupData += "\"endPos\": \"" + OUString::number(nTotalTwips) + "\", ";
-                aGroupData += "\"hidden\": \"" + OUString::number(bGroupHidden) + "\" }";
+                aGroupData += "\"hidden\": \"" + OUString::number(bGroupHidden ? 1 : 0) + "\" }";
 
                 rGroupsBuffer += aGroupData;
 


More information about the Libreoffice-commits mailing list