summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filstr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/filstr.cxx')
-rw-r--r--ucb/source/ucp/file/filstr.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx
index ce92a7dd8ae9..3a57ce65ad2d 100644
--- a/ucb/source/ucp/file/filstr.cxx
+++ b/ucb/source/ucp/file/filstr.cxx
@@ -250,11 +250,10 @@ XStream_impl::getPosition()
sal_Int64 SAL_CALL
XStream_impl::getLength()
{
- sal_uInt64 uEndPos;
- if ( m_aFile.getSize(uEndPos) != osl::FileBase::E_None )
- throw io::IOException( THROW_WHERE );
- else
- return sal_Int64( uEndPos );
+ sal_uInt64 uEndPos;
+ if ( m_aFile.getSize(uEndPos) != osl::FileBase::E_None )
+ throw io::IOException( THROW_WHERE );
+ return sal_Int64( uEndPos );
}
void SAL_CALL