summaryrefslogtreecommitdiff
path: root/sfx2/workben/custompanel/ctp_factory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/workben/custompanel/ctp_factory.cxx')
-rw-r--r--sfx2/workben/custompanel/ctp_factory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/workben/custompanel/ctp_factory.cxx b/sfx2/workben/custompanel/ctp_factory.cxx
index 192f89bb1b64..35f08ca5693c 100644
--- a/sfx2/workben/custompanel/ctp_factory.cxx
+++ b/sfx2/workben/custompanel/ctp_factory.cxx
@@ -94,7 +94,7 @@ namespace sd { namespace colortoolpanel
const PropertyValue* pArgEnd = i_rArgs.getConstArray() + i_rArgs.getLength();
for ( ; pArg != pArgEnd; ++pArg )
{
- if ( pArg->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ParentWindow" ) ) )
+ if ( pArg->Name == "ParentWindow" )
{
xParentWindow.set( pArg->Value, UNO_QUERY );
break;