diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-30 22:38:42 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-30 22:41:48 +0200 |
commit | b3e52299c91d7f2ef16280fa2a0f5c4c6be37f6e (patch) | |
tree | 57a70396948f1177f9f42132b97a7c6385c94a42 /tools | |
parent | deploy some asserts to detect truncated STREAM_SEEK_TO_END (diff) | |
download | core-b3e52299c91d7f2ef16280fa2a0f5c4c6be37f6e.tar.gz core-b3e52299c91d7f2ef16280fa2a0f5c4c6be37f6e.zip |
tools, sc: fix GCC -Werror=type-limits (comparison is always true)
... on 32 bit platforms. These asserts appear to be impossible anyway.
Change-Id: I6bd332ca49e9992740315e0f6c58e98ac337817c
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/stream.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 9921d6f8a4dc..a8ce39c5d63b 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1769,7 +1769,6 @@ void* SvMemoryStream::SetBuffer( void* pNewBuf, sal_Size nCount, ResetError(); - DBG_ASSERT( nEndOfData<STREAM_SEEK_TO_END,"Invalid EOF"); return pResult; } |