summaryrefslogtreecommitdiff
path: root/svx/source/sidebar
diff options
context:
space:
mode:
authorKatarina Behrens <bubli@bubli.org>2021-06-18 09:48:25 +0200
committerKatarina Behrens <bubli@bubli.org>2021-06-18 13:34:38 +0200
commit7a717c8b9319edcc12e50ab78554b8e0e7049cbf (patch)
treec810031ad62ffb6ef36d12879c40ce395a733181 /svx/source/sidebar
parentf11195aa32035ceeb1271667f5ad5e35847acd0e (diff)
tdf#141311: Rotation spinbox in sidebar used to have 2 decimal places
regression from weld-ing (c85fcc6e1994eb8e079aaca85066ab4d67149c15) Change-Id: Iad0725fd4542ecdddb65092846dbf9d103016d9a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117408 Tested-by: Jenkins Reviewed-by: Katarina Behrens <bubli@bubli.org>
Diffstat (limited to 'svx/source/sidebar')
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index 8139b3dc4d69..943117f9a57d 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -218,7 +218,7 @@ void PosSizePropertyPanel::Initialize()
mxCbxScale->connect_toggled( LINK( this, PosSizePropertyPanel, ClickAutoHdl ) );
//rotation control
- mxCtrlDial->SetLinkedField(mxMtrAngle.get());
+ mxCtrlDial->SetLinkedField(mxMtrAngle.get(), 2);
mxCtrlDial->SetModifyHdl(LINK( this, PosSizePropertyPanel, RotationHdl));
//use same logic as DialControl_Impl::SetSize