sc/source/ui/view/viewdata.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 95c9eaa43daf823bffb3365ec57ff2f15dff77eb Author: Pranam Lashkari <[email protected]> AuthorDate: Thu Feb 18 20:19:57 2021 +0530 Commit: Jan Holesovsky <[email protected]> CommitDate: Thu Feb 18 17:35:09 2021 +0100 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/+/111131 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Dennis Francis <[email protected]> diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index e98378fa853f..a1ff8bc20051 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -4221,7 +4221,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; } @@ -4232,7 +4235,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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
