summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objmisc.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2019-08-21 19:41:17 +0300
committerMiklos Vajna <vmiklos@collabora.com>2019-08-28 09:28:38 +0200
commit4a4e0cb67eab422dffda6f3339031db5b62be77a (patch)
tree0f9d6cc79b3fd8ab810f980da8664ddf6f4e15c2 /sfx2/source/doc/objmisc.cxx
parent3780d305ae1607458029af3c9452bad251490461 (diff)
tdf#126784 sw: only distribute across selected columns
partial revert of LO6.2 commit ab18c17d70e1dcf5cf9db38256d35e6af479373e because MERGED cells had a very unexpected effect on the columns that were altered. Unselected columns are INCLUDED in the calculation IF they extend over the selected columns when SwTableSearchType::Col uses the entire table column. The last table in the unit test demonstrates why the regressive behaviour was included. A user can make an ugly layout if they don't choose a good set of columns. However, the merged cell really changes the way the calculation works, and since giving power to the user is ultimately the best, just revert the portion that tries to save the user from themself. I struggled then and now to get a good enough understanding to improve the documentation - which really is needed since reading it didn't help me a lot. However, since my understanding was and is obviously flawed, I'll just revert back to the original wording. Change-Id: Icf8f01f095652e2a023e0398852f43aa6b90332f Reviewed-on: https://gerrit.libreoffice.org/77985 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
0 files changed, 0 insertions, 0 deletions