summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/align.hxx2
-rw-r--r--cui/source/inc/transfrm.hxx2
-rw-r--r--cui/source/tabpages/align.cxx2
-rw-r--r--cui/source/tabpages/transfrm.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/inc/align.hxx b/cui/source/inc/align.hxx
index 03af4f943db9..ebfdd984d3b2 100644
--- a/cui/source/inc/align.hxx
+++ b/cui/source/inc/align.hxx
@@ -89,7 +89,7 @@ private:
std::unique_ptr<weld::ComboBox> m_xLbVerAlign;
std::unique_ptr<weld::Label> m_xFtRotate;
- std::unique_ptr<weld::SpinButton> m_xNfRotate;
+ std::unique_ptr<weld::MetricSpinButton> m_xNfRotate;
std::unique_ptr<weld::Label> m_xFtRefEdge;
std::unique_ptr<weld::CheckButton> m_xCbStacked;
std::unique_ptr<weld::CheckButton> m_xCbAsianMode;
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx
index c83f0bf60030..3c5506ef3c4e 100644
--- a/cui/source/inc/transfrm.hxx
+++ b/cui/source/inc/transfrm.hxx
@@ -182,7 +182,7 @@ private:
std::unique_ptr<weld::MetricSpinButton> m_xMtrPosY;
std::unique_ptr<weld::CustomWeld> m_xCtlRect;
std::unique_ptr<weld::Widget> m_xFlAngle;
- std::unique_ptr<weld::SpinButton> m_xNfAngle;
+ std::unique_ptr<weld::MetricSpinButton> m_xNfAngle;
std::unique_ptr<weld::CustomWeld> m_xCtlAngle;
public:
diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx
index 33cce4de3795..9c0886097fe1 100644
--- a/cui/source/tabpages/align.cxx
+++ b/cui/source/tabpages/align.cxx
@@ -112,7 +112,7 @@ AlignmentTabPage::AlignmentTabPage(weld::Container* pPage, weld::DialogControlle
, m_xLbVerAlign(m_xBuilder->weld_combo_box("comboboxVertAlign"))
//text rotation
, m_xFtRotate(m_xBuilder->weld_label("labelDegrees"))
- , m_xNfRotate(m_xBuilder->weld_spin_button("spinDegrees"))
+ , m_xNfRotate(m_xBuilder->weld_metric_spin_button("spinDegrees", FieldUnit::DEGREE))
, m_xFtRefEdge(m_xBuilder->weld_label("labelRefEdge"))
//Asian mode
, m_xCbStacked(m_xBuilder->weld_check_button("checkVertStack"))
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 5dc45a108ff8..aad88fb32555 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -176,7 +176,7 @@ SvxAngleTabPage::SvxAngleTabPage(weld::Container* pPage, weld::DialogController*
, m_xMtrPosY(m_xBuilder->weld_metric_spin_button("MTR_FLD_POS_Y", FieldUnit::CM))
, m_xCtlRect(new weld::CustomWeld(*m_xBuilder, "CTL_RECT", m_aCtlRect))
, m_xFlAngle(m_xBuilder->weld_widget("FL_ANGLE"))
- , m_xNfAngle(m_xBuilder->weld_spin_button("NF_ANGLE"))
+ , m_xNfAngle(m_xBuilder->weld_metric_spin_button("NF_ANGLE", FieldUnit::DEGREE))
, m_xCtlAngle(new weld::CustomWeld(*m_xBuilder, "CTL_ANGLE", m_aCtlAngle))
{
// calculate PoolUnit