From 5501c8d2220ee3cab703d09d348e99ba3e017dba Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 25 Sep 2014 17:56:24 +0200 Subject: remove unnecessary casts in calls to SvStream.WriteUInt16 left over from our conversion of the SvStream output operators to more specific methods Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff --- tools/source/ref/pstm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/source') diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx index 7ef8aa808ec6..1e9dfba53606 100644 --- a/tools/source/ref/pstm.cxx +++ b/tools/source/ref/pstm.cxx @@ -325,7 +325,7 @@ void SvPersistStream::WriteCompressed( SvStream & rStm, sal_uInt32 nVal ) rStm.WriteUChar( (LEN_4 | (nVal >> 24)) ); // 2nd highest sal_uInt8 rStm.WriteUChar( (nVal >> 16) ); - rStm.WriteUInt16( (sal_uInt16)(nVal) ); + rStm.WriteUInt16( (nVal) ); } else #endif -- cgit