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/Button.cxx | |
parent | filter: Use appropriate OUString functions on string constants (diff) | |
download | core-9e3ced1956b71c4016dd28f7a718157194b30149.tar.gz core-9e3ced1956b71c4016dd28f7a718157194b30149.zip |
forms: Use appropriate OUString functions on string constants
Change-Id: I1bcd815663c29025da6b3ce50bdf767eef74fe94
Diffstat (limited to 'forms/source/component/Button.cxx')
-rw-r--r-- | forms/source/component/Button.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 2bb0ea6b8187..a00f4d250d4e 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -634,13 +634,13 @@ void OButtonControl::modelFeatureUrlPotentiallyChanged( ) void SAL_CALL OButtonControl::propertyChange( const PropertyChangeEvent& _rEvent ) throw ( RuntimeException, std::exception ) { - if ( _rEvent.PropertyName.equals( PROPERTY_TARGET_URL ) - || _rEvent.PropertyName.equals( PROPERTY_BUTTONTYPE ) + if ( _rEvent.PropertyName == PROPERTY_TARGET_URL + || _rEvent.PropertyName == PROPERTY_BUTTONTYPE ) { modelFeatureUrlPotentiallyChanged( ); } - else if ( _rEvent.PropertyName.equals( PROPERTY_ENABLED ) ) + else if ( _rEvent.PropertyName == PROPERTY_ENABLED ) { _rEvent.NewValue >>= m_bEnabledByPropertyValue; } |