Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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
<kyoshida@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" );
 

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.