Kaydet (Commit) 476dbf46 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin a couple way too verbose SAL_INFOs

Use temporary SAL_DEBUGs in your local tree instead if/when you need
to trace these constructors and destructors.

Change-Id: Icc52c905205914f0e5b911a2dae8322e99e9234e
üst 2e2dd195
...@@ -523,12 +523,10 @@ ScFormulaCellGroup::ScFormulaCellGroup() : ...@@ -523,12 +523,10 @@ ScFormulaCellGroup::ScFormulaCellGroup() :
mbSubTotal(false), mbSubTotal(false),
meCalcState(sc::GroupCalcEnabled) meCalcState(sc::GroupCalcEnabled)
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCellGroup ctor this " << this);
} }
ScFormulaCellGroup::~ScFormulaCellGroup() ScFormulaCellGroup::~ScFormulaCellGroup()
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCellGroup dtor this " << this);
delete mpCode; delete mpCode;
} }
...@@ -624,7 +622,6 @@ ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos ) : ...@@ -624,7 +622,6 @@ ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos ) :
mbIsExtRef(false), mbIsExtRef(false),
aPos(rPos) aPos(rPos)
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCell ctor this " << this);
} }
ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos, ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos,
...@@ -656,8 +653,6 @@ ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos, ...@@ -656,8 +653,6 @@ ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos,
mbIsExtRef(false), mbIsExtRef(false),
aPos(rPos) aPos(rPos)
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCell ctor this " << this);
Compile( rFormula, true, eGrammar ); // bNoListening, Insert does that Compile( rFormula, true, eGrammar ); // bNoListening, Insert does that
if (!pCode) if (!pCode)
// We need to have a non-NULL token array instance at all times. // We need to have a non-NULL token array instance at all times.
...@@ -692,7 +687,6 @@ ScFormulaCell::ScFormulaCell( ...@@ -692,7 +687,6 @@ ScFormulaCell::ScFormulaCell(
mbIsExtRef(false), mbIsExtRef(false),
aPos(rPos) aPos(rPos)
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCell ctor this " << this);
assert(pArray); // Never pass a NULL pointer here. assert(pArray); // Never pass a NULL pointer here.
// Generate RPN token array. // Generate RPN token array.
...@@ -742,8 +736,6 @@ ScFormulaCell::ScFormulaCell( ...@@ -742,8 +736,6 @@ ScFormulaCell::ScFormulaCell(
mbIsExtRef(false), mbIsExtRef(false),
aPos(rPos) aPos(rPos)
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCell ctor this " << this);
// RPN array generation // RPN array generation
if( pCode->GetLen() && pCode->GetCodeError() == FormulaError::NONE && !pCode->GetCodeLen() ) if( pCode->GetLen() && pCode->GetCodeError() == FormulaError::NONE && !pCode->GetCodeLen() )
{ {
...@@ -792,8 +784,6 @@ ScFormulaCell::ScFormulaCell( ...@@ -792,8 +784,6 @@ ScFormulaCell::ScFormulaCell(
mbIsExtRef(false), mbIsExtRef(false),
aPos(rPos) aPos(rPos)
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCell ctor this " << this);
if (bSubTotal) if (bSubTotal)
pDocument->AddSubTotalCell(this); pDocument->AddSubTotalCell(this);
} }
...@@ -825,8 +815,6 @@ ScFormulaCell::ScFormulaCell(const ScFormulaCell& rCell, ScDocument& rDoc, const ...@@ -825,8 +815,6 @@ ScFormulaCell::ScFormulaCell(const ScFormulaCell& rCell, ScDocument& rDoc, const
mbIsExtRef(false), mbIsExtRef(false),
aPos(rPos) aPos(rPos)
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCell ctor this " << this);
pCode = rCell.pCode->Clone(); pCode = rCell.pCode->Clone();
// set back any errors and recompile // set back any errors and recompile
...@@ -931,8 +919,6 @@ ScFormulaCell::ScFormulaCell(const ScFormulaCell& rCell, ScDocument& rDoc, const ...@@ -931,8 +919,6 @@ ScFormulaCell::ScFormulaCell(const ScFormulaCell& rCell, ScDocument& rDoc, const
ScFormulaCell::~ScFormulaCell() ScFormulaCell::~ScFormulaCell()
{ {
SAL_INFO( "sc.core.formulacell", "ScFormulaCell dtor this " << this);
pDocument->RemoveFromFormulaTrack( this ); pDocument->RemoveFromFormulaTrack( this );
pDocument->RemoveFromFormulaTree( this ); pDocument->RemoveFromFormulaTree( this );
pDocument->RemoveSubTotalCell(this); pDocument->RemoveSubTotalCell(this);
...@@ -1332,9 +1318,6 @@ void ScFormulaCell::CompileXML( sc::CompileFormulaContext& rCxt, ScProgress& rPr ...@@ -1332,9 +1318,6 @@ void ScFormulaCell::CompileXML( sc::CompileFormulaContext& rCxt, ScProgress& rPr
pCode = pPreviousCell->pCode; pCode = pPreviousCell->pCode;
if (pPreviousCell->mbIsExtRef) if (pPreviousCell->mbIsExtRef)
pDocument->GetExternalRefManager()->insertRefCellFromTemplate( pPreviousCell, this ); pDocument->GetExternalRefManager()->insertRefCellFromTemplate( pPreviousCell, this );
SAL_INFO( "sc.core.formulacell", "merged '" << aFormula << "' == '" << aShouldBe
<< "'extend group to " << xGroup->mnLength );
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment