summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/frmview.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-05-07 09:21:15 +0200
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-05-13 21:40:12 +0200
commit25e53d411097849ae9a00af40c6d786fa1daf2b6 (patch)
tree1e9ea6ed6f63fe73116203b4ae7c15cd1af88d1c /sd/source/ui/view/frmview.cxx
parent5e6d9c38a7ef4027734064b83ca328df258a575c (diff)
Use less SdOptionsSnapItem->IsSnapPoints/SetSnapPoints
in favor of officecfg Change-Id: I578fa667f3a21ebdfacb8602c009558a03facd97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167535 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Diffstat (limited to 'sd/source/ui/view/frmview.cxx')
-rw-r--r--sd/source/ui/view/frmview.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index 7e9a8ec31ab8..dfb73b027b71 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -293,6 +293,7 @@ void FrameView::Update(SdOptions const * pOptions)
SetHlplVisible( officecfg::Office::Impress::Layout::Display::Helpline::get() );
SetNoDragXorPolys ( !officecfg::Office::Impress::Layout::Display::Contour::get() );
SetOFrmSnap( officecfg::Office::Impress::Snap::Object::ObjectFrame::get() );
+ SetOPntSnap( officecfg::Office::Impress::Snap::Object::ObjectPoint::get() );
SetPlusHandlesAlwaysVisible( officecfg::Office::Impress::Layout::Display::Bezier::get() );
}
else
@@ -304,13 +305,13 @@ void FrameView::Update(SdOptions const * pOptions)
SetHlplVisible( officecfg::Office::Draw::Layout::Display::Helpline::get() );
SetNoDragXorPolys ( !officecfg::Office::Draw::Layout::Display::Contour::get() );
SetOFrmSnap( officecfg::Office::Draw::Snap::Object::ObjectFrame::get() );
+ SetOPntSnap( officecfg::Office::Draw::Snap::Object::ObjectPoint::get() );
SetPlusHandlesAlwaysVisible( officecfg::Office::Draw::Layout::Display::Bezier::get() );
}
SetGridVisible( pOptions->IsGridVisible() );
SetSnapAngle( pOptions->GetAngle() );
SetGridSnap( pOptions->IsUseGridSnap() );
- SetOPntSnap( pOptions->IsSnapPoints() );
SetSnapMagneticPixel( pOptions->GetSnapArea() );
SetMarkedHitMovesAlways( pOptions->IsMarkedHitMovesAlways() );
SetMoveOnlyDragging( pOptions->IsMoveOnlyDragging() );