summaryrefslogtreecommitdiff
path: root/tools/source/ref/pstm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/ref/pstm.cxx')
-rw-r--r--tools/source/ref/pstm.cxx2
1 files changed, 1 insertions, 1 deletions
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