diff options
Diffstat (limited to 'vcl/source/uitest/uiobject.cxx')
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index 623591e7e218..e4f2c63a73c9 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -1379,7 +1379,7 @@ OUString SpinFieldUIObject::get_action(VclEventId nEvent) const "' from " + get_top_parent(mxSpinField)->get_id(); } else - return WindowUIObject::get_action(nEvent); + return EditUIObject::get_action(nEvent); } OUString SpinFieldUIObject::get_name() const @@ -1422,7 +1422,7 @@ void MetricFieldUIObject::execute(const OUString& rAction, StringMap MetricFieldUIObject::get_state() { - StringMap aMap = EditUIObject::get_state(); + StringMap aMap = SpinFieldUIObject::get_state(); aMap["Value"] = mxMetricField->GetValueString(); return aMap; @@ -1467,7 +1467,7 @@ void FormattedFieldUIObject::execute(const OUString& rAction, StringMap FormattedFieldUIObject::get_state() { - StringMap aMap = EditUIObject::get_state(); + StringMap aMap = SpinFieldUIObject::get_state(); aMap["Value"] = OUString::number(mxFormattedField->GetFormatter().GetValue()); return aMap; |