summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx4
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();