diff options
-rw-r--r-- | io/source/stm/odata.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 660cc7c76..dd07f21b3 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 |