diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-01 21:18:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-02 21:40:36 +0100 |
commit | 69ccba90135f4dfc22d4cb823e10cf4794ddaa04 (patch) | |
tree | edb24a189f9b0555a97c95fbd72acf73fed6a8aa /svx/source/dialog | |
parent | 075e365e20a75dd12c29b0b094fea986f3e1231a (diff) |
rename RelativeField back to SvxRelativeField
Change-Id: Iadac47f83aae0f7403f3391e3dd45bef52ad347a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87832
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/relfld.cxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index c9cb58ca1594..1e2631e990c7 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -1460,7 +1460,7 @@ void limitWidthForSidebar(weld::SpinButton& rSpinButton) rSpinButton.set_width_chars(std::min(rSpinButton.get_width_chars(), nMaxDigits)); } -void limitWidthForSidebar(RelativeField& rMetricSpinButton) +void limitWidthForSidebar(SvxRelativeField& rMetricSpinButton) { weld::SpinButton& rSpinButton = rMetricSpinButton.get_widget(); limitWidthForSidebar(rSpinButton); diff --git a/svx/source/dialog/relfld.cxx b/svx/source/dialog/relfld.cxx index d8db417a9717..80340a168031 100644 --- a/svx/source/dialog/relfld.cxx +++ b/svx/source/dialog/relfld.cxx @@ -19,7 +19,7 @@ #include <svx/relfld.hxx> -RelativeField::RelativeField(std::unique_ptr<weld::MetricSpinButton> pControl) +SvxRelativeField::SvxRelativeField(std::unique_ptr<weld::MetricSpinButton> pControl) : m_xSpinButton(std::move(pControl)) , nRelMin(0) , nRelMax(0) @@ -29,10 +29,10 @@ RelativeField::RelativeField(std::unique_ptr<weld::MetricSpinButton> pControl) { weld::SpinButton& rSpinButton = m_xSpinButton->get_widget(); - rSpinButton.connect_changed(LINK(this, RelativeField, ModifyHdl)); + rSpinButton.connect_changed(LINK(this, SvxRelativeField, ModifyHdl)); } -IMPL_LINK_NOARG(RelativeField, ModifyHdl, weld::Entry&, void) +IMPL_LINK_NOARG(SvxRelativeField, ModifyHdl, weld::Entry&, void) { if (bRelativeMode) { @@ -65,7 +65,7 @@ IMPL_LINK_NOARG(RelativeField, ModifyHdl, weld::Entry&, void) } } -void RelativeField::EnableRelativeMode(sal_uInt16 nMin, sal_uInt16 nMax) +void SvxRelativeField::EnableRelativeMode(sal_uInt16 nMin, sal_uInt16 nMax) { bRelativeMode = true; nRelMin = nMin; @@ -73,7 +73,7 @@ void RelativeField::EnableRelativeMode(sal_uInt16 nMin, sal_uInt16 nMax) m_xSpinButton->set_unit(FieldUnit::CM); } -void RelativeField::SetRelative( bool bNewRelative ) +void SvxRelativeField::SetRelative( bool bNewRelative ) { weld::SpinButton& rSpinButton = m_xSpinButton->get_widget(); |