summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/formatnormalizer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/sdr/formatnormalizer.cxx')
-rw-r--r--reportdesign/source/core/sdr/formatnormalizer.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/reportdesign/source/core/sdr/formatnormalizer.cxx b/reportdesign/source/core/sdr/formatnormalizer.cxx
index 8d52b061d037..4e34f131f08d 100644
--- a/reportdesign/source/core/sdr/formatnormalizer.cxx
+++ b/reportdesign/source/core/sdr/formatnormalizer.cxx
@@ -126,10 +126,7 @@ namespace rptui
//--------------------------------------------------------------------
void FormatNormalizer::impl_onDefinitionPropertyChange( const ::rtl::OUString& _rChangedPropName )
{
- if ( !_rChangedPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Command" ) )
- && !_rChangedPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "CommandType" ) )
- && !_rChangedPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "EscapeProcessing" ) )
- )
+ if ( _rChangedPropName != "Command" && _rChangedPropName != "CommandType" && _rChangedPropName != "EscapeProcessing" )
// nothing we're interested in
return;
m_bFieldListDirty = true;
@@ -138,7 +135,7 @@ namespace rptui
//--------------------------------------------------------------------
void FormatNormalizer::impl_onFormattedProperttyChange( const Reference< XFormattedField >& _rxFormatted, const ::rtl::OUString& _rChangedPropName )
{
- if ( !_rChangedPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "DataField" ) ) )
+ if ( _rChangedPropName != "DataField" )
// nothing we're interested in
return;