[Libreoffice-commits] core.git: solenv/gbuildtojson

jan Iversen jani at documentfoundation.org
Tue Dec 27 09:49:41 UTC 2016


 solenv/gbuildtojson/gbuildtojson.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ae02f60cc0fb8a44addcc95d50142a57d3b8a48e
Author: jan Iversen <jani at documentfoundation.org>
Date:   Tue Dec 27 10:47:37 2016 +0100

    make the gbuildtojson output debugable.
    
    Added a NEWLINE after each JSON variable, this makes the files
    easier readable and has no impact on performance.
    
    Change-Id: I5610c79ba74d6d34b7c4bacd0ba8626d37cb4e70

diff --git a/solenv/gbuildtojson/gbuildtojson.cxx b/solenv/gbuildtojson/gbuildtojson.cxx
index 6b3367d..96d38ea 100644
--- a/solenv/gbuildtojson/gbuildtojson.cxx
+++ b/solenv/gbuildtojson/gbuildtojson.cxx
@@ -75,7 +75,7 @@ int main(int argc, char** argv)
         if(first)
             first =false;
         else
-            cout << ", ";
+            cout << "," << endl;
         string varupper(varandfile.first);
         for(auto& c : varupper)
             if(c != '_')


More information about the Libreoffice-commits mailing list