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

Eike Rathke erack at redhat.com
Thu Jan 23 16:29:23 PST 2014


 sc/source/core/data/formulacell.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit f013eab80638e732d9cc81af798b2e554c1666fa
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Jan 24 01:23:02 2014 +0100

    bring some sense into this translated comment
    
    Change-Id: I1b121fd3f41bafb70a80ae1b01b9b02debbd2dfc

diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 75f01d2..435ff6f 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -1754,10 +1754,10 @@ void ScFormulaCell::SetDirty( bool bDirtyFlag )
             SetDirtyVar();
         else
         {
-            // Multiple Formulas avoid tracking in Load and Copy compileAll
-            // by Scenario and Copy Block From Clip.
-            // If unconditional required Formula tracking is set before SetDirty
-            // bDirty = false, eg in CompileTokenArray
+            // Avoid multiple formula tracking in Load() and in CompileAll()
+            // after CopyScenario() and CopyBlockFromClip().
+            // If unconditional formula tracking is needed, set bDirty=false
+            // before calling SetDirty(), for example in CompileTokenArray().
             if ( !bDirty || mbPostponedDirty || !pDocument->IsInFormulaTree( this ) )
             {
                 if( bDirtyFlag )


More information about the Libreoffice-commits mailing list