oox/source/helper/binaryinputstream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7948b273a9725c546e0dc32bece296dc872bdc04 Author: Noel Grandin <n...@peralex.com> Date: Fri Dec 12 12:48:44 2014 +0200 fix commit fix my commit aa2f02a4dc8a05f49e679a26f2beebb9d66b232 "remove operator>> and operator<< methods" I incorrectly inverted the conditional Change-Id: Iade05b88bdedb7e5b0cff25a80d3b88ff4a0235f diff --git a/oox/source/helper/binaryinputstream.cxx b/oox/source/helper/binaryinputstream.cxx index 7597981..3c41921 100644 --- a/oox/source/helper/binaryinputstream.cxx +++ b/oox/source/helper/binaryinputstream.cxx @@ -45,7 +45,7 @@ OUString BinaryInputStream::readNulUnicodeArray() for (;;) { sal_uInt16 nChar = readuInt16(); - if ( mbEof || (nChar < 0) ) break; + if ( mbEof || (nChar == 0) ) break; aBuffer.append( static_cast< sal_Unicode >( nChar ) ); } return aBuffer.makeStringAndClear(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits