summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-12-03 17:47:35 +0100
committerEike Rathke <erack@redhat.com>2014-12-03 17:49:57 +0100
commit135b8d6466ade1e8724e604f705f95cecf4c4881 (patch)
tree8d3ddb281491c300a206e5554d94255bd116bacc /sc/source/core/data
parent37cc33e27188a5686e15751c5bb39b422909f201 (diff)
remove boolean parameter default from ScDocument::SetDirty
... and force the caller to make a decision. In fact some needed to include empty cells. Change-Id: I82b6ef72f7ecda6543b3cafc70f475519870b471
Diffstat (limited to 'sc/source/core/data')
-rw-r--r--sc/source/core/data/documen2.cxx2
-rw-r--r--sc/source/core/data/documen4.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index bfa78cbbb10b..404dd3143587 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -1004,7 +1004,7 @@ sal_uLong ScDocument::TransferTab( ScDocument* pSrcDoc, SCTAB nSrcPos,
sc::StartListeningContext aSLCxt(*this);
maTabs[nDestPos]->StartListeners(aSLCxt, true);
}
- SetDirty( ScRange( 0, 0, nDestPos, MAXCOL, MAXROW, nDestPos));
+ SetDirty( ScRange( 0, 0, nDestPos, MAXCOL, MAXROW, nDestPos), false);
if ( bResultsOnly )
pSrcDoc->SetAutoCalc( bOldAutoCalcSrc );
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index 5f118989925a..b29b1b6728b0 100644
--- a/sc/source/core/data/documen4.cxx
+++ b/sc/source/core/data/documen4.cxx
@@ -126,7 +126,7 @@ bool ScDocument::Solver(SCCOL nFCol, SCROW nFRow, SCTAB nFTab,
while ( !bDoneIteration && ( nIter++ < nMaxIter ) )
{
*pVCell = fX;
- SetDirty( aVRange );
+ SetDirty( aVRange, false );
pFormula->Interpret();
bError = ( pFormula->GetErrCode() != 0 );
fF = pFormula->GetValue() - fTargetVal;
@@ -160,7 +160,7 @@ bool ScDocument::Solver(SCCOL nFCol, SCROW nFRow, SCTAB nFTab,
fHorX = fX - fabs( fF ) * fHorTangent;
*pVCell = fHorX;
- SetDirty( aVRange );
+ SetDirty( aVRange, false );
pFormula->Interpret();
bHorMoveError = ( pFormula->GetErrCode() != 0 );
if ( bHorMoveError )
@@ -224,7 +224,7 @@ bool ScDocument::Solver(SCCOL nFCol, SCROW nFRow, SCTAB nFTab,
if ( bDoneIteration )
{
*pVCell = nX;
- SetDirty( aVRange );
+ SetDirty( aVRange, false );
pFormula->Interpret();
if ( fabs( pFormula->GetValue() - fTargetVal ) > fabs( fF ) )
nX = fBestX;
@@ -235,7 +235,7 @@ bool ScDocument::Solver(SCCOL nFCol, SCROW nFRow, SCTAB nFTab,
nX = fBestX;
}
*pVCell = fSaveVal;
- SetDirty( aVRange );
+ SetDirty( aVRange, false );
pFormula->Interpret();
if ( !bDoneIteration )
{