summaryrefslogtreecommitdiff
path: root/vcl/source/window/window4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/window4.cxx')
-rw-r--r--vcl/source/window/window4.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/window4.cxx b/vcl/source/window/window4.cxx
index 238c032cd4be..f0d8f47b2515 100644
--- a/vcl/source/window/window4.cxx
+++ b/vcl/source/window/window4.cxx
@@ -161,19 +161,19 @@ void Window::setProperties( const uno::Sequence< beans::PropertyValue >& i_rProp
const beans::PropertyValue* pVals = i_rProps.getConstArray();
for( sal_Int32 i = 0; i < i_rProps.getLength(); i++ )
{
- if( pVals[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Enabled")) )
+ if ( pVals[i].Name == "Enabled" )
{
sal_Bool bVal = sal_True;
if( pVals[i].Value >>= bVal )
Enable( bVal );
}
- else if( pVals[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Visible")) )
+ else if ( pVals[i].Name == "Visible" )
{
sal_Bool bVal = sal_True;
if( pVals[i].Value >>= bVal )
Show( bVal );
}
- else if( pVals[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Text")) )
+ else if ( pVals[i].Name == "Text" )
{
rtl::OUString aText;
if( pVals[i].Value >>= aText )