From 7ce5df3e7f6c05ae118b989567f46b375a893a8a Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Tue, 15 Feb 2011 09:06:17 +0100 Subject: Revert "Remove useless comments" Caolan estimates that these comments are indeed useful, so be it so!!! This reverts commit f5e77c96802886b24b0da8686cad393649d43da0. --- io/source/stm/odata.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'io') diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 338df98b7e7b..4237977b6b15 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 -- cgit