[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source
Kohei Yoshida
kohei.yoshida at gmail.com
Mon Jul 1 06:03:47 PDT 2013
sc/source/core/data/column.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 747988e8362faeb3f18271d8b33cf55905e5e860
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Mon Jul 1 09:02:13 2013 -0400
Fix a crasher on copy to clip.
The logical row position equals the top block position plus offset within
block, not minus.
Change-Id: Ia6376d8e971f9d3379977895d14f97f43c5664ba
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index a224b6f..aa82f4d1 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -1276,7 +1276,7 @@ public:
void operator() (const sc::CellStoreType::value_type& aNode, size_t nOffset, size_t nDataSize)
{
- size_t nTopRow = aNode.position - nOffset;
+ size_t nTopRow = aNode.position + nOffset;
switch (aNode.type)
{
More information about the Libreoffice-commits
mailing list