[Libreoffice-commits] core.git: io/source

Andrea Gelmini andrea.gelmini at gelma.net
Sun May 1 09:57:39 UTC 2016


 io/source/stm/odata.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 75d965e5fc6e03513e8da1014c58d67f586b798b
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sat Apr 30 14:36:22 2016 +0200

    Fix typo in code
    
    Change-Id: I670b016fb937fd4e87939afedd6d2047533812bf
    Reviewed-on: https://gerrit.libreoffice.org/24531
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index 5b61d14..9e2f717 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();
     }


More information about the Libreoffice-commits mailing list