summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxwindow1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxwindow1.cxx')
-rw-r--r--toolkit/source/awt/vclxwindow1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindow1.cxx b/toolkit/source/awt/vclxwindow1.cxx
index 02092b6f4cea..3abaeeaecbdd 100644
--- a/toolkit/source/awt/vclxwindow1.cxx
+++ b/toolkit/source/awt/vclxwindow1.cxx
@@ -75,9 +75,9 @@ void VCLXWindow::SetSystemParent_Impl( const com::sun::star::uno::Any& rHandle )
const com::sun::star::beans::NamedValue* pProps = aProps.getConstArray();
for( int i = 0; i < nProps; i++ )
{
- if( pProps[i].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "WINDOW" ) ) )
+ if ( pProps[i].Name == "WINDOW" )
pProps[i].Value >>= nHandle;
- else if( pProps[i].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "XEMBED" ) ) )
+ else if ( pProps[i].Name == "XEMBED" )
pProps[i].Value >>= bXEmbed;
}
}