Hi there,

I'd like to backport another fix from master to libreoffice-3-3.  The
change is very simple, as attached patch shows.  But that alone fixes

https://bugs.freedesktop.org/show_bug.cgi?id=31939

It's a combination of the following two commits

http://cgit.freedesktop.org/libreoffice/calc/commit/?id=3ac33327631408ddc0025ac87f339e23a5746564
http://cgit.freedesktop.org/libreoffice/calc/commit/?id=a61620da9c3e13c665d99dc3c8267086c8bfe641

which cancel out most of the changes and leaves only the attached
change.

It's a very safe change, for a real useful bug fix.

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc
<kyosh...@novell.com>
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 72cc4f7..a7cfb71 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3581,7 +3581,7 @@ ScInterpreter::ScInterpreter( ScFormulaCell* pCell, ScDocument* pDoc,
     pFormatter( pDoc->GetFormatTable() ),
     mnStringNoValueError( errNoValue),
     bCalcAsShown( pDoc->GetDocOptions().IsCalcAsShown() ),
-    meVolaileType(NOT_VOLATILE)
+    meVolaileType(r.IsRecalcModeAlways() ? VOLATILE : NOT_VOLATILE)
 {
     RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "sc", "er", "ScInterpreter::ScTTT" );
 
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to