Fix typo in code

Change-Id: I670b016fb937fd4e87939afedd6d2047533812bf
Reviewed-on: https://gerrit.libreoffice.org/24531
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
Andrea Gelmini
2016-04-30 14:36:22 +02:00
committed by Markus Mohrhard
parent 26851eccbd
commit 75d965e5fc

View File

@@ -1287,7 +1287,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (css::io::IO
// skip data of new version // skip data of new version
skipBytes( nLen - m_rMarkable->offsetToMark( nMark ) ); skipBytes( nLen - m_rMarkable->offsetToMark( nMark ) );
bool bLoadSuccesfull = true; bool bLoadSuccessful = true;
if( nId ) if( nId )
{ {
if( !aName.isEmpty() ) if( !aName.isEmpty() )
@@ -1312,14 +1312,14 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (css::io::IO
else else
{ {
// no service with this name could be instantiated // no service with this name could be instantiated
bLoadSuccesfull = false; bLoadSuccessful = false;
} }
} }
else { else {
if( m_aPersistVector.size() < nId ) if( m_aPersistVector.size() < nId )
{ {
// id unknown, load failure ! // id unknown, load failure !
bLoadSuccesfull = false; bLoadSuccessful = false;
} }
else else
{ {
@@ -1333,7 +1333,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (css::io::IO
skipBytes( nObjLen + nLen - m_rMarkable->offsetToMark( nMark ) ); skipBytes( nObjLen + nLen - m_rMarkable->offsetToMark( nMark ) );
m_rMarkable->deleteMark( nMark ); m_rMarkable->deleteMark( nMark );
if( ! bLoadSuccesfull ) if( ! bLoadSuccessful )
{ {
throw WrongFormatException(); throw WrongFormatException();
} }