[Libreoffice-commits] .: io/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Feb 14 13:05:05 PST 2011


 io/source/stm/odata.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b35ee4bc1537b3916e152810537f840931305495
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Feb 14 21:04:25 2011 +0000

    Revert "Remove useless comments"
    
    This reverts commit 4745753ee82b68d6e044214e915712ca4a37f1e1.

diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index 660cc7c..dd07f21 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -808,13 +808,16 @@ void ODataOutputStream::writeUTF(const OUString& Value)
             writeByte(sal_Int8(0xE0 | ((c >> 12) & 0x0F)));
             writeByte(sal_Int8(0x80 | ((c >>  6) & 0x3F)));
             writeByte(sal_Int8(0x80 | ((c >>  0) & 0x3F)));
+            //written += 2;
         }
         else
         {
             writeByte(sal_Int8(0xC0 | ((c >>  6) & 0x1F)));
             writeByte(sal_Int8(0x80 | ((c >>  0) & 0x3F)));
+            //written += 1;
         }
     }
+    //written += strlen + 2;
 }
 
 // XActiveDataSource


More information about the Libreoffice-commits mailing list