[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Fri Jan 24 21:10:29 PST 2014
sc/source/core/data/column2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1511047198ce36bcc910732bf8dfc5d40550b927
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Sat Jan 25 00:10:32 2014 -0500
This yields slightly better performance.
Change-Id: Ibc063e762f0fde10b3387c52117e4010aca61d10
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 490ccbd..794a462 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -1929,7 +1929,7 @@ void ScColumn::SwapCellNotes( SCROW nRow1, SCROW nRow2 )
// row 1 is empty while row 2 is non-empty.
ScPostIt* pVal2 = sc::cellnote_block::at(*it2->data, aPos2.second);
it1 = maCellNotes.set(it1, nRow1, pVal2);
- maCellNotes.release<ScPostIt*>(nRow2);
+ maCellNotes.release(it1, nRow2, pVal2);
pVal2->UpdateCaptionPos(ScAddress(nCol,nRow1,nTab)); //update Note caption with position
return;
More information about the Libreoffice-commits
mailing list