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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 29 18:46:56 UTC 2018


 desktop/source/app/officeipcthread.cxx |    6 +++---
 desktop/source/app/officeipcthread.hxx |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 695f841604dbc7122dc6d5beee6b1200e562f3be
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Dec 29 18:04:47 2018 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Dec 29 19:46:37 2018 +0100

    Fix typo in code
    
    Change-Id: I1e6d483e7cc7f03149fbd0a0f5f49a62677faecd
    Reviewed-on: https://gerrit.libreoffice.org/65695
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index 2871072e418b..08c0d4b83fa7 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -980,8 +980,8 @@ bool IpcThread::process(OString const & arguments, bool * waitProcessed) {
             aCmdLineArgs->getCwdUrl());
         m_handler->cProcessed.reset();
         pRequest->pcProcessed = &m_handler->cProcessed;
-        m_handler->mbSucces = false;
-        pRequest->mpbSuccess = &m_handler->mbSucces;
+        m_handler->mbSuccess = false;
+        pRequest->mpbSuccess = &m_handler->mbSuccess;
 
         // Print requests are not dependent on the --invisible cmdline argument as they are
         // loaded with the "hidden" flag! So they are always checked.
@@ -1185,7 +1185,7 @@ void PipeIpcThread::execute()
             if (waitProcessed)
             {
                 m_handler->cProcessed.wait();
-                bSuccess = m_handler->mbSucces;
+                bSuccess = m_handler->mbSuccess;
             }
             if (bSuccess)
             {
diff --git a/desktop/source/app/officeipcthread.hxx b/desktop/source/app/officeipcthread.hxx
index 224f154e0cce..ca2533e191b8 100644
--- a/desktop/source/app/officeipcthread.hxx
+++ b/desktop/source/app/officeipcthread.hxx
@@ -93,7 +93,7 @@ class RequestHandler: public salhelper::SimpleReferenceObject
     /* condition to be set when the request has been processed */
     ::osl::Condition cProcessed;
     /* receives if the processing was successful (may be false e.g. when shutting down) */
-    bool mbSucces = false;
+    bool mbSuccess = false;
 
     /* condition to be set when the main event loop is ready
        otherwise an error dialogs event loop could eat away


More information about the Libreoffice-commits mailing list