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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Oct 18 15:17:49 UTC 2018


 package/source/xstor/owriteablestream.cxx |    4 ++--
 package/source/xstor/xstorage.cxx         |    4 ++--
 package/source/xstor/xstorage.hxx         |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit a51c1829cb90303f28011428873ff9160fdd3152
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Oct 18 11:20:47 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Oct 18 17:16:25 2018 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I20e2ecce45ead161a3f95b511416044af4e04290
    Reviewed-on: https://gerrit.libreoffice.org/61917
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 2810f9682302..c14e2f47cb5e 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -3113,7 +3113,7 @@ void OWriteStream::BroadcastTransaction( sal_Int8 nMessage )
                 case STOR_MESS_PRECOMMIT:
                        static_cast<embed::XTransactionListener*>( pIterator.next( ) )->preCommit( aSource );
                     break;
-                case STOR_MESS_COMMITED:
+                case STOR_MESS_COMMITTED:
                        static_cast<embed::XTransactionListener*>( pIterator.next( ) )->commited( aSource );
                     break;
                 case STOR_MESS_PREREVERT:
@@ -3179,7 +3179,7 @@ void SAL_CALL OWriteStream::commit()
                                   aCaught );
     }
 
-    BroadcastTransaction( STOR_MESS_COMMITED );
+    BroadcastTransaction( STOR_MESS_COMMITTED );
 }
 
 void SAL_CALL OWriteStream::revert()
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 81e159fad77e..562d040febe5 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -1985,7 +1985,7 @@ void OStorage::BroadcastTransaction( sal_Int8 nMessage )
                 case STOR_MESS_PRECOMMIT:
                        static_cast<embed::XTransactionListener*>( pIterator.next( ) )->preCommit( aSource );
                     break;
-                case STOR_MESS_COMMITED:
+                case STOR_MESS_COMMITTED:
                        static_cast<embed::XTransactionListener*>( pIterator.next( ) )->commited( aSource );
                     break;
                 case STOR_MESS_PREREVERT:
@@ -3608,7 +3608,7 @@ void SAL_CALL OStorage::commit()
     if ( xParentModif.is() )
         xParentModif->setModified( true );
 
-    BroadcastTransaction( STOR_MESS_COMMITED );
+    BroadcastTransaction( STOR_MESS_COMMITTED );
 }
 
 void SAL_CALL OStorage::revert()
diff --git a/package/source/xstor/xstorage.hxx b/package/source/xstor/xstorage.hxx
index 8cf9d5ac5cfa..23d116f7bd51 100644
--- a/package/source/xstor/xstorage.hxx
+++ b/package/source/xstor/xstorage.hxx
@@ -68,7 +68,7 @@ namespace com { namespace sun { namespace star { namespace uno {
 #define RELINFO_CHANGED_BROKEN      7
 
 #define STOR_MESS_PRECOMMIT 1
-#define STOR_MESS_COMMITED  2
+#define STOR_MESS_COMMITTED  2
 #define STOR_MESS_PREREVERT 3
 #define STOR_MESS_REVERTED  4
 


More information about the Libreoffice-commits mailing list