[Libreoffice-commits] .: sc/source

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Mon Feb 13 10:47:41 PST 2012


 sc/source/core/data/cell.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit bf789d4a40711b7b04b969e3330373a2f947b994
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Mon Feb 13 22:46:38 2012 +0400

    make the return statement more visible

diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx
index b74f08e..74e9330 100644
--- a/sc/source/core/data/cell.cxx
+++ b/sc/source/core/data/cell.cxx
@@ -1056,7 +1056,8 @@ void ScFormulaCell::GetResultDimensions( SCSIZE& rCols, SCSIZE& rRows )
 void ScFormulaCell::Compile( const String& rFormula, bool bNoListening,
                             const FormulaGrammar::Grammar eGrammar )
 {
-    if ( pDocument->IsClipOrUndo() ) return;
+    if ( pDocument->IsClipOrUndo() )
+        return;
     bool bWasInFormulaTree = pDocument->IsInFormulaTree( this );
     if ( bWasInFormulaTree )
         pDocument->RemoveFromFormulaTree( this );


More information about the Libreoffice-commits mailing list