diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:53:44 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:53:44 +0000 |
commit | c977dd1cc5d8484f28c89cb0f6cfbc8cc61cc6df (patch) | |
tree | 489acdacc675dffbe198f2092e878767d0fd5dd3 /comphelper/source/streaming | |
parent | 127c5b994a3a9877525a1f400b5448f6f913741b (diff) |
INTEGRATION: CWS warnings01 (1.5.112); FILE MERGED
2006/01/25 20:12:05 sb 1.5.112.3: RESYNC: (1.6-1.7); FILE MERGED
2005/09/23 03:25:20 sb 1.5.112.2: RESYNC: (1.5-1.6); FILE MERGED
2005/09/01 14:00:02 sb 1.5.112.1: #i53898# Made code warning-free.
Diffstat (limited to 'comphelper/source/streaming')
-rw-r--r-- | comphelper/source/streaming/seqstream.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/comphelper/source/streaming/seqstream.cxx b/comphelper/source/streaming/seqstream.cxx index 762191b3cd92..a0f53c26a8cd 100644 --- a/comphelper/source/streaming/seqstream.cxx +++ b/comphelper/source/streaming/seqstream.cxx @@ -4,9 +4,9 @@ * * $RCSfile: seqstream.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obo $ $Date: 2006-01-20 10:00:13 $ + * last change: $Author: hr $ $Date: 2006-06-19 22:53:44 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -184,7 +184,8 @@ void SAL_CALL OSequenceOutputStream::writeBytes( const Sequence< sal_Int8 >& _rD if (m_nSize + _rData.getLength() > m_rSequence.getLength()) { sal_Int32 nCurrentLength = m_rSequence.getLength(); - sal_Int32 nNewLength = nCurrentLength * m_nResizeFactor; + sal_Int32 nNewLength = static_cast< sal_Int32 >( + nCurrentLength * m_nResizeFactor); if (m_nMinimumResize > nNewLength - nCurrentLength) // we have a minimum so it's not too inefficient for small sequences and small write requests |