diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-04-30 14:36:22 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-01 09:57:14 +0000 |
commit | 75d965e5fc6e03513e8da1014c58d67f586b798b (patch) | |
tree | 471c18d97f15c494f15909c38e6bcd20ed4d9c55 /io | |
parent | 26851eccbd7e3d60bad7010b0a113aca89876f6e (diff) |
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>
Diffstat (limited to 'io')
-rw-r--r-- | io/source/stm/odata.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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(); } |