From d11c93b025c87dce5ceabc688419739e35baa535 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Mar 2013 12:54:12 +0100 Subject: Assume that this shall check full string equality ...instead of prefix match as the use of compareToAscii(RTL_CONSTASCII_STRINGPARAM(...)) would imply. Change-Id: I0b0939ac7d753f1972007c479d4231d45ffecd13 --- filter/source/xsltdialog/xmlfilterdialogcomponent.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter') diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx index ee3c9c0ca69d..1e21a7abad88 100644 --- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx +++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx @@ -380,7 +380,7 @@ void SAL_CALL XMLFilterDialogComponent::initialize( const Sequence< Any >& aArgu PropertyValue aProperty; if(*pArguments >>= aProperty) { - if( aProperty.Name.compareToAscii( RTL_CONSTASCII_STRINGPARAM( "ParentWindow" ) ) == 0 ) + if( aProperty.Name == "ParentWindow" ) { aProperty.Value >>= mxParent; } -- cgit