[Libreoffice-commits] core.git: sd/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jan 4 06:46:45 UTC 2021
sd/source/ui/dlg/tpoption.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7f633ac437c1ed1880ab801e8d027240074d646b
Author: Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sun Jan 3 18:16:09 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Jan 4 07:46:04 2021 +0100
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 at collabora.co.uk>
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);
}
More information about the Libreoffice-commits
mailing list