diff options
Diffstat (limited to 'vcl/source/window/arrange.cxx')
-rw-r--r-- | vcl/source/window/arrange.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/arrange.cxx b/vcl/source/window/arrange.cxx index 5ff1ac48a738..e24706fb459d 100644 --- a/vcl/source/window/arrange.cxx +++ b/vcl/source/window/arrange.cxx @@ -237,7 +237,7 @@ void WindowArranger::setProperties( const uno::Sequence< beans::PropertyValue >& bool bResize = false; for( sal_Int32 i = 0; i < i_rProps.getLength(); i++ ) { - if( pProps[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("OuterBorder")) ) + if ( pProps[i].Name == "OuterBorder" ) { sal_Int32 nVal = 0; if( pProps[i].Value >>= nVal ) @@ -249,7 +249,7 @@ void WindowArranger::setProperties( const uno::Sequence< beans::PropertyValue >& } } } - else if( pProps[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ManagedArea")) ) + else if ( pProps[i].Name == "ManagedArea" ) { awt::Rectangle aArea( 0, 0, 0, 0 ); if( pProps[i].Value >>= aArea ) @@ -261,7 +261,7 @@ void WindowArranger::setProperties( const uno::Sequence< beans::PropertyValue >& bResize = true; } } - else if( pProps[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Visible")) ) + else if ( pProps[i].Name == "Visible" ) { sal_Bool bVal = sal_False; if( pProps[i].Value >>= bVal ) |