[Libreoffice-commits] .: io/source

Fridrich Strba fridrich at kemper.freedesktop.org
Tue Feb 15 00:11:34 PST 2011


 io/source/stm/odata.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit b95f94a020236bedef991edbb2fb2d99c807bbf9
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Tue Feb 15 09:10:52 2011 +0100

    Revert "Revert "Remove useless comments""
    
    Pouring ashes on my head and putting back this one
    
    This reverts commit d5aa25b9dfca4de9dc2a702aeb0fb1e146fb7f2a.

diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index dd07f21..660cc7c 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -808,16 +808,13 @@ 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