From 75d965e5fc6e03513e8da1014c58d67f586b798b Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 30 Apr 2016 14:36:22 +0200 Subject: Fix typo in code Change-Id: I670b016fb937fd4e87939afedd6d2047533812bf Reviewed-on: https://gerrit.libreoffice.org/24531 Tested-by: Jenkins Reviewed-by: Markus Mohrhard --- io/source/stm/odata.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'io') diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 5b61d14e919c..9e2f71794fca 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -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(); } -- cgit v1.2.3