diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-01-03 18:16:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-04 07:46:04 +0100 |
commit | 7f633ac437c1ed1880ab801e8d027240074d646b (patch) | |
tree | 84cefa5b412013f2b592ad36e191bc13b8b0f1f5 /sd/source | |
parent | 211688521a983963adc9ca827eebd0e2435f2705 (diff) |
tdf#139380 tdf#139379 followup
regression from
commit cf5715da45ddce8b667f1b999d41c4e6e7e65659
Date: Wed Dec 23 09:57:24 2020 +0200
use Degree10 in SdOptionsSnap and fix some conversions
Change-Id: Ic760dc74ae6ae1d18b65a3a334f047f10c961343
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108641
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/dlg/tpoption.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx index d57870b171e6..e2abc9565251 100644 --- a/sd/source/ui/dlg/tpoption.cxx +++ b/sd/source/ui/dlg/tpoption.cxx @@ -89,8 +89,8 @@ void SdTpOptionsSnap::Reset( const SfxItemSet* rAttrs ) m_xCbxBigOrtho->set_active( aOptsItem.GetOptionsSnap().IsBigOrtho() ); m_xCbxRotate->set_active( aOptsItem.GetOptionsSnap().IsRotate() ); m_xMtrFldSnapArea->set_value(aOptsItem.GetOptionsSnap().GetSnapArea(), FieldUnit::PIXEL); - m_xMtrFldAngle->set_value(aOptsItem.GetOptionsSnap().GetAngle().get() / 10, FieldUnit::DEGREE); - m_xMtrFldBezAngle->set_value(aOptsItem.GetOptionsSnap().GetEliminatePolyPointLimitAngle().get() / 10, FieldUnit::DEGREE); + m_xMtrFldAngle->set_value(aOptsItem.GetOptionsSnap().GetAngle().get(), FieldUnit::DEGREE); + m_xMtrFldBezAngle->set_value(aOptsItem.GetOptionsSnap().GetEliminatePolyPointLimitAngle().get(), FieldUnit::DEGREE); ClickRotateHdl_Impl(*m_xCbxRotate); } |