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:
parent
26851eccbd
commit
75d965e5fc
@ -1287,7 +1287,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (css::io::IO
|
||||
// skip data of new version
|
||||
skipBytes( nLen - m_rMarkable->offsetToMark( nMark ) );
|
||||
|
||||
bool bLoadSuccesfull = true;
|
||||
bool bLoadSuccessful = true;
|
||||
if( nId )
|
||||
{
|
||||
if( !aName.isEmpty() )
|
||||
@ -1312,14 +1312,14 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (css::io::IO
|
||||
else
|
||||
{
|
||||
// no service with this name could be instantiated
|
||||
bLoadSuccesfull = false;
|
||||
bLoadSuccessful = false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if( m_aPersistVector.size() < nId )
|
||||
{
|
||||
// id unknown, load failure !
|
||||
bLoadSuccesfull = false;
|
||||
bLoadSuccessful = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1333,7 +1333,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (css::io::IO
|
||||
skipBytes( nObjLen + nLen - m_rMarkable->offsetToMark( nMark ) );
|
||||
m_rMarkable->deleteMark( nMark );
|
||||
|
||||
if( ! bLoadSuccesfull )
|
||||
if( ! bLoadSuccessful )
|
||||
{
|
||||
throw WrongFormatException();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user