diff options
Diffstat (limited to 'xmlhelp/source')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/inputstream.cxx | 4 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/urlparameter.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx index 98bb1243ab0e..96bc1ebce254 100644 --- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx +++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx @@ -173,8 +173,8 @@ XInputStream_impl::getLength() err = m_aFile.setPos( osl_Pos_Absolut, uCurrentPos ); if( err != osl::FileBase::E_None ) throw io::IOException(); - else - return sal_Int64( uEndPos ); + + return sal_Int64( uEndPos ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index 24f439f10b67..3ae9330d084d 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -941,8 +941,8 @@ void SAL_CALL InputStreamTransformer::seek( sal_Int64 location ) osl::MutexGuard aGuard( m_aMutex ); if( location < 0 ) throw IllegalArgumentException(); - else - pos = sal::static_int_cast<sal_Int32>( location ); + + pos = sal::static_int_cast<sal_Int32>( location ); if( pos > buffer.getLength() ) pos = buffer.getLength(); |