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

Eike Rathke erack at redhat.com
Thu Jul 10 07:18:31 PDT 2014


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

New commits:
commit 1093b900b43d819c9a730ef6435fed0f3687a085
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

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index b9e3d12..df65daa 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -253,6 +253,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