summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-06-26 16:30:12 +0200
committerEike Rathke <erack@redhat.com>2015-06-26 16:36:05 +0200
commit4091b4fbdce40262eba46ab94653287b1fd928e8 (patch)
tree59cd7d987193092b7e5f1fab7c0131c2b5ee89c3
parentce07affe888db8d32315b18c851f860a270631ba (diff)
entire rows/cols have absolute col/row anchors, tdf#44419 follow-up
Change-Id: I2ae8c1c81734efd7c80558ba5337253985e8e8b7
-rw-r--r--sc/source/core/tool/address.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index dbcfb15c38dc..8ac9d1abc324 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1491,11 +1491,15 @@ static sal_uInt16 lcl_ScRange_Parse_OOo( ScRange& rRange,
{
rRange.aStart.SetRow(0);
rRange.aEnd.SetRow(MAXROW);
+ nRes1 |= SCA_ROW_ABSOLUTE;
+ nRes2 |= SCA_ROW_ABSOLUTE;
}
else
{
rRange.aStart.SetCol(0);
rRange.aEnd.SetCol(MAXCOL);
+ nRes1 |= SCA_COL_ABSOLUTE;
+ nRes2 |= SCA_COL_ABSOLUTE;
}
}
if (nRes1 && nRes2)