diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:24:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:26 +0100 |
commit | 9e3ced1956b71c4016dd28f7a718157194b30149 (patch) | |
tree | 460cf153f2c1af7f877e966b4fd92fb900e82c21 /forms/source/component/RadioButton.cxx | |
parent | 70217974e104ed5fcab415fdf04fd37c0cca3601 (diff) |
forms: Use appropriate OUString functions on string constants
Change-Id: I1bcd815663c29025da6b3ce50bdf767eef74fe94
Diffstat (limited to 'forms/source/component/RadioButton.cxx')
-rw-r--r-- | forms/source/component/RadioButton.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/RadioButton.cxx b/forms/source/component/RadioButton.cxx index 1440eabaa2e0..a07f9ac7ad85 100644 --- a/forms/source/component/RadioButton.cxx +++ b/forms/source/component/RadioButton.cxx @@ -351,7 +351,7 @@ void SAL_CALL ORadioButtonModel::read(const Reference<XObjectInputStream>& _rxIn void ORadioButtonModel::_propertyChanged(const PropertyChangeEvent& _rEvent) throw(RuntimeException) { - if ( _rEvent.PropertyName.equals( PROPERTY_STATE ) ) + if ( _rEvent.PropertyName == PROPERTY_STATE ) { if ( _rEvent.NewValue == (sal_Int16)1 ) { @@ -361,7 +361,7 @@ void ORadioButtonModel::_propertyChanged(const PropertyChangeEvent& _rEvent) thr SetSiblingPropsTo( PROPERTY_STATE, aZero ); } } - else if ( _rEvent.PropertyName.equals( PROPERTY_GROUP_NAME ) ) + else if ( _rEvent.PropertyName == PROPERTY_GROUP_NAME ) { setControlSource(); // Can't call OReferenceValueComponent::_propertyChanged(), as it |