summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-20 12:54:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-20 13:05:34 +0100
commitd11c93b025c87dce5ceabc688419739e35baa535 (patch)
tree01e832bb9ec20027a5aa8c2ff70d2a7568544726 /filter
parent29c26f911422c318f277ebf31abb57ed6ad5fd16 (diff)
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
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xsltdialog/xmlfilterdialogcomponent.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}