[Libreoffice-commits] core.git: Branch 'libreoffice-4-3-0' - sc/source

Eike Rathke erack at redhat.com
Mon Jul 14 01:30:04 PDT 2014


 sc/source/core/tool/interpr1.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 85ad903b57d1d1362f0d9a64ca3de37606645dee
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jul 10 16:13:40 2014 +0200

    resolved fdo#80195 act on implicitly propagated error, if any
    
    Change-Id: I1d5a55a14fc3e25edc2cddec5b53ed2afa96bd3e
    (cherry picked from commit 1093b900b43d819c9a730ef6435fed0f3687a085)
    Reviewed-on: https://gerrit.libreoffice.org/10195
    Reviewed-by: Muthu Subramanian K <muthusuba at gmail.com>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 8c86e56..493080a 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -255,6 +255,11 @@ void ScInterpreter::ScIfError( bool bNAonly )
     {
         default:
             Pop();
+            // Act on implicitly propagated error, if any.
+            if (nOldGlobalError)
+                nGlobalError = nOldGlobalError;
+            if (nGlobalError)
+                bError = true;
             break;
         case svError:
             PopError();


More information about the Libreoffice-commits mailing list