cui/source/tabpages/grfpage.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 62a1377e8d15fcacb2e123ba88c0a86b2e20e050 Author: Shardul Vikram Singh <shardulvi...@gmail.com> AuthorDate: Tue Feb 11 20:18:27 2025 +0530 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Mon Mar 3 10:20:26 2025 +0100 tdf#86628 Fix image squishing on Reset Crop Call ZoomHdl in UncropHdl to recompute width and height, ensuring the correct scale. Change-Id: I35af48f5729d0a17a3c06f47efc133c9bab830cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181434 Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> Tested-by: Jenkins diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index 688e03cf5d7e..3895080969ae 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -539,8 +539,10 @@ IMPL_LINK_NOARG(SvxGrfCropPage, UncropHdl, weld::Button&, void) m_xLeftMF->set_value(0, FieldUnit::NONE); m_xRightMF->set_value(0, FieldUnit::NONE); + ZoomHdl(*m_xWidthZoomMF); m_xTopMF->set_value(0, FieldUnit::NONE); m_xBottomMF->set_value(0, FieldUnit::NONE); + ZoomHdl(*m_xHeightZoomMF); m_aExampleWN.SetLeft(0); m_aExampleWN.SetRight(0);