summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-02-13 22:46:38 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-02-13 22:46:38 +0400
commitbf789d4a40711b7b04b969e3330373a2f947b994 (patch)
tree1537fe8e2bd6fa28e3cc0fbe06e6539b693f0eff
parentee38b167c86c8f96aa41dca861cae327c6df5915 (diff)
make the return statement more visible
-rw-r--r--sc/source/core/data/cell.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx
index b74f08e5bfe4..74e93308d0b1 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 );