summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxtoolkit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxtoolkit.cxx')
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index fe21cc616283..9a5c32a242e2 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -969,9 +969,9 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
const css::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 >>= nWindowHandle;
- else if( pProps[i].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "XEMBED" ) ) )
+ else if ( pProps[i].Name == "XEMBED" )
pProps[i].Value >>= bXEmbed;
}
}
@@ -1201,9 +1201,9 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
const css::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 >>= nWindowHandle;
- else if( pProps[i].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "XEMBED" ) ) )
+ else if ( pProps[i].Name == "XEMBED" )
pProps[i].Value >>= bXEmbed;
}
}