summaryrefslogtreecommitdiff
path: root/forms/source/component/Filter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r--forms/source/component/Filter.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx
index 6983e8388b1b..8524b1822ed9 100644
--- a/forms/source/component/Filter.cxx
+++ b/forms/source/component/Filter.cxx
@@ -792,19 +792,19 @@ namespace frm
continue;
}
- if ( 0 == pName->compareToAscii( "MessageParent" ) )
+ if ( pName->equalsAscii( "MessageParent" ) )
{
// the message parent
*pValue >>= m_xMessageParent;
OSL_ENSURE( m_xMessageParent.is(), "OFilterControl::initialize: invalid MessageParent!" );
}
- else if ( 0 == pName->compareToAscii( "NumberFormatter" ) )
+ else if ( pName->equalsAscii( "NumberFormatter" ) )
{
// the number format. This argument is optional.
*pValue >>= m_xFormatter;
OSL_ENSURE( m_xFormatter.is(), "OFilterControl::initialize: invalid NumberFormatter!" );
}
- else if ( 0 == pName->compareToAscii( "ControlModel" ) )
+ else if ( pName->equalsAscii( "ControlModel" ) )
{
// the control model for which we act as filter control
if ( !(*pValue >>= xControlModel ) )