[ooo-build-commit] patches/dev300
Kohei Yoshida
kohei at kemper.freedesktop.org
Mon Sep 21 23:01:46 PDT 2009
patches/dev300/calc-find-replace-skip-filtered.diff | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit e47d33c6cf1eeaf6f9a06be026b2249faae122da
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Tue Sep 22 02:01:24 2009 -0400
Fixed a build breakage in sc.
* patches/dev300/calc-find-replace-skip-filtered.diff:
diff --git a/patches/dev300/calc-find-replace-skip-filtered.diff b/patches/dev300/calc-find-replace-skip-filtered.diff
index 3754411..5bde7bc 100644
--- a/patches/dev300/calc-find-replace-skip-filtered.diff
+++ b/patches/dev300/calc-find-replace-skip-filtered.diff
@@ -359,7 +359,7 @@ index 272e049..be44ff1 100644
ScBaseCell* pCell = aCol[nCol].GetCell(nRow);
if (!pCell)
{
-@@ -956,6 +1014,18 @@ bool ScTable::SearchRangeForAllEmptyCells(
+@@ -956,6 +1014,21 @@ bool ScTable::SearchRangeForAllEmptyCells(
pUndoDoc->PutCell(nCol, nRow, nTab, new ScStringCell(String()));
}
}
@@ -371,7 +371,10 @@ index 272e049..be44ff1 100644
+ if (bReplace)
+ {
+ if (pUndoDoc)
-+ pUndoDoc->PutCell(nCol, nRow, nTab, pCell->CloneWithNote(*pUndoDoc, ScAddress(nCol, nRow, nTab)));
++ {
++ ScAddress aCellPos(nCol, nRow, nTab);
++ pUndoDoc->PutCell(nCol, nRow, nTab, pCell->CloneWithNote(aCellPos, *pUndoDoc, aCellPos));
++ }
+ aCol[nCol].SetString(nRow, nTab, rSearchItem.GetReplaceString());
+ }
+ }
More information about the ooo-build-commit
mailing list