sd/source/ui/view/frmview.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit c724b81b033a9ff968a1a63d66005d48a6b97e57 Author: Gabor Kelemen <[email protected]> AuthorDate: Tue Apr 23 15:39:59 2024 +0200 Commit: Gabor Kelemen <[email protected]> CommitDate: Fri Apr 26 16:59:49 2024 +0200 Use less SdOptionsLayout->IsMoveOutline in favor of officecfg Change-Id: I848e11a64a42b670254c88b791d0b2a2534d112f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166595 Reviewed-by: Gabor Kelemen <[email protected]> Tested-by: Jenkins diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx index 6d8fad05af9d..4071ee2734bf 100644 --- a/sd/source/ui/view/frmview.cxx +++ b/sd/source/ui/view/frmview.cxx @@ -286,10 +286,12 @@ void FrameView::Update(SdOptions const * pOptions) if (pDrawDocument->GetDocumentType() == DocumentType::Impress) { mbRuler = officecfg::Office::Impress::Layout::Display::Ruler::get(); + SetNoDragXorPolys ( !officecfg::Office::Impress::Layout::Display::Contour::get() ); } else { mbRuler = officecfg::Office::Draw::Layout::Display::Ruler::get(); + SetNoDragXorPolys ( !officecfg::Office::Draw::Layout::Display::Contour::get() ); } SetGridVisible( pOptions->IsGridVisible() ); @@ -306,7 +308,6 @@ void FrameView::Update(SdOptions const * pOptions) SetMarkedHitMovesAlways( pOptions->IsMarkedHitMovesAlways() ); SetMoveOnlyDragging( pOptions->IsMoveOnlyDragging() ); SetSlantButShear( pOptions->IsMoveOnlyDragging() ); - SetNoDragXorPolys ( !pOptions->IsMoveOutline() ); SetCrookNoContortion( pOptions->IsCrookNoContortion() ); SetAngleSnapEnabled( pOptions->IsRotate() ); SetBigOrtho( pOptions->IsBigOrtho() );
