sd/source/ui/dlg/tpoption.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fa16f9e19ea9ff29086e1759a8e66ccabf553ac0
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Fri May 17 13:07:37 2024 +0200
Commit:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
CommitDate: Fri May 17 16:05:40 2024 +0200

    Add missing officecfg call
    
    accidentally omitted from f1c91993e54858f9bc7ed78d25485a09157c04be
    
    Change-Id: I19a95e4e767792543bf04bbd8ca572017eee8992
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167772
    Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
    Tested-by: Jenkins

diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index 73542633a8af..f25649536060 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -114,6 +114,7 @@ void SdTpOptionsSnap::Reset( const SfxItemSet* rAttrs )
         m_xCbxOrtho->set_active( 
officecfg::Office::Draw::Snap::Position::CreatingMoving::get() );
         m_xCbxBigOrtho->set_active( 
officecfg::Office::Draw::Snap::Position::ExtendEdges::get() );
         m_xCbxRotate->set_active( 
officecfg::Office::Draw::Snap::Position::Rotating::get() );
+        m_xMtrFldSnapArea->set_value( 
officecfg::Office::Draw::Snap::Object::Range::get(), FieldUnit::PIXEL);
         m_xMtrFldAngle->set_value( 
officecfg::Office::Draw::Snap::Position::RotatingValue::get(), 
FieldUnit::DEGREE);
     }
     else

Reply via email to