Resolves: tdf#138271 flag formatted spinbuttons as modified on any entry change

formattedspinbuttons should send value-changed on losing focus, but this
is sufficient for this use case and safe to backport

Change-Id: Ie0cf5ab22152d95169dc5579423a4173be678a33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105999
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx
index 93969d2..b72fcbd 100644
--- a/extensions/source/propctrlr/usercontrol.hxx
+++ b/extensions/source/propctrlr/usercontrol.hxx
@@ -58,6 +58,7 @@ namespace pcr
            m_xEntry->connect_focus_in( LINK( this, CommonBehaviourControlHelper, GetFocusHdl ) );
            m_xEntry->connect_focus_out( LINK( this, CommonBehaviourControlHelper, LoseFocusHdl ) );
            m_xSpinButton->connect_value_changed(LINK(this, CommonBehaviourControlHelper, FormattedModifiedHdl));
            m_xSpinButton->connect_changed(LINK(this, CommonBehaviourControlHelper, EditModifiedHdl));
        }

        void SetFormatSupplier(const SvNumberFormatsSupplierObj* pSupplier);
@@ -105,6 +106,7 @@ namespace pcr
        {
            OFormattedNumericControl_Base::SetModifyHandler();
            getTypedControlWindow()->connect_value_changed(LINK(this, CommonBehaviourControlHelper, FormattedModifiedHdl));
            getTypedControlWindow()->connect_changed(LINK(this, CommonBehaviourControlHelper, EditModifiedHdl));
        }

        virtual weld::Widget* getWidget() override { return getTypedControlWindow(); }