From bf789d4a40711b7b04b969e3330373a2f947b994 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Mon, 13 Feb 2012 22:46:38 +0400 Subject: make the return statement more visible --- sc/source/core/data/cell.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- cgit v1.2.3