[Libreoffice-commits] core.git: sw/source
Douglas Mencken
dougmencken at gmail.com
Fri Feb 28 12:22:01 PST 2014
sw/source/filter/ascii/wrtasc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 754dd9212aca0d30f8e50cf67b52c0a8dab814c9
Author: Douglas Mencken <dougmencken at gmail.com>
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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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;
More information about the Libreoffice-commits
mailing list