diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-12 21:00:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 10:16:07 +0100 |
commit | b7af008a35f48b821dd95f3d2d945f254bf4ed26 (patch) | |
tree | 4ea4e0a6f0eed32e72f8c043b94cc2bfafebb165 /lotuswordpro/source/filter/lwpobjstrm.cxx | |
parent | 46a924d34890f64e168ab247bcdad47cfc44a889 (diff) |
remove first chunk of lotuswordpro warnings
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjstrm.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpobjstrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpobjstrm.cxx b/lotuswordpro/source/filter/lwpobjstrm.cxx index abb95a7e0295..ac662f76758d 100644 --- a/lotuswordpro/source/filter/lwpobjstrm.cxx +++ b/lotuswordpro/source/filter/lwpobjstrm.cxx @@ -191,7 +191,7 @@ void LwpObjectStream::SeekRel(sal_uInt16 pos) */ BOOL LwpObjectStream::Seek( sal_uInt16 pos) { - if(pos>=0 && pos<m_nBufSize) + if (pos < m_nBufSize) { m_nReadPos = pos; return TRUE; |