diff options
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r-- | forms/source/component/Filter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index 3b566e9ca67d..9e1d53e2c6fd 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -800,19 +800,19 @@ namespace frm continue; } - if ( pName->equalsAscii( "MessageParent" ) ) + if ( *pName == "MessageParent" ) { // the message parent *pValue >>= m_xMessageParent; OSL_ENSURE( m_xMessageParent.is(), "OFilterControl::initialize: invalid MessageParent!" ); } - else if ( pName->equalsAscii( "NumberFormatter" ) ) + else if ( *pName == "NumberFormatter" ) { // the number format. This argument is optional. *pValue >>= m_xFormatter; OSL_ENSURE( m_xFormatter.is(), "OFilterControl::initialize: invalid NumberFormatter!" ); } - else if ( pName->equalsAscii( "ControlModel" ) ) + else if ( *pName == "ControlModel" ) { // the control model for which we act as filter control if ( !(*pValue >>= xControlModel ) ) |