sc/source/ui/view/viewdata.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit d67b74d29e840074e24372e8be9e0c53035f1c6c Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Thu Feb 25 03:40:27 2021 +0530 Commit: Pranam Lashkari <lpra...@collabora.com> CommitDate: Fri Apr 2 19:48:00 2021 +0200 online: fixed freeze pane not writing correct data on file save problem: when we save the file after setting freeze panes in online, opening same file in Desktop libreoffice will show incorrect view, each freeze view would start from A1 this patch ensures that we write correct starting cell pos for each freeze view Change-Id: Ic8ccd5fb5cbedf2ea4f0e9376f0cfdd530e32d6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111505 Tested-by: Jenkins Reviewed-by: Pranam Lashkari <lpra...@collabora.com> (cherry picked from commit e469c262e289ad86e3e2fa2857f8388b7b16df47) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113534 Tested-by: Pranam Lashkari <lpra...@collabora.com> diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 2d30a3504f75..c389c6d34f2b 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -4206,7 +4206,10 @@ void ScViewData::OverrideWithLOKFreeze(ScSplitMode& eExHSplitMode, ScSplitMode& eExHSplitMode = SC_SPLIT_FIX; if (eExHSplitMode == SC_SPLIT_FIX) + { nExFixPosX = nFreezeCol; + pThisTab->nPosX[SC_SPLIT_RIGHT] = nFreezeCol; + } else bConvertToScrPosX = true; } @@ -4217,7 +4220,10 @@ void ScViewData::OverrideWithLOKFreeze(ScSplitMode& eExHSplitMode, ScSplitMode& eExVSplitMode = SC_SPLIT_FIX; if (eExVSplitMode == SC_SPLIT_FIX) + { nExFixPosY = nFreezeRow; + pThisTab->nPosY[SC_SPLIT_BOTTOM] = nFreezeRow; + } else bConvertToScrPosY = true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits