sw/source/filter/ascii/wrtasc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 754dd9212aca0d30f8e50cf67b52c0a8dab814c9 Author: Douglas Mencken <[email protected]> Date: Fri Feb 28 12:55:17 2014 -0500 sw: hey, don't forget about big-endian parts in wrtasc.cxx! Change-Id: I8e71c35dfb4f8ce475357412cc9121c50830069e Reviewed-on: https://gerrit.libreoffice.org/8401 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/sw/source/filter/ascii/wrtasc.cxx b/sw/source/filter/ascii/wrtasc.cxx index 8b89a9a..1ade412 100644 --- a/sw/source/filter/ascii/wrtasc.cxx +++ b/sw/source/filter/ascii/wrtasc.cxx @@ -161,7 +161,7 @@ sal_uLong SwASCWriter::WriteStream() #ifdef OSL_LITENDIAN Strm().WriteUChar( sal_uInt8(0xFF) ).WriteUChar( sal_uInt8(0xFE) ); #else - Strm() << sal_uInt8(0xFE) << sal_uInt8(0xFF); + Strm().WriteUChar( sal_uInt8(0xFE) ).WriteUChar( sal_uInt8(0xFF) ); #endif break;
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
