diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-03-03 14:56:17 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-03-03 14:57:01 +0100 |
commit | 39c2a52d198f513c2f5afbd38dd9b14bff388d6e (patch) | |
tree | 8449dcbf35c67fdcc24036fb73c07038708a0985 /sw/source | |
parent | e336f41e50ea96880dd71a2b42aa37cf53256383 (diff) |
Avoid temporary rtl::OUString
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/rtfimportfilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfimportfilter.cxx b/sw/source/filter/ww8/rtfimportfilter.cxx index 25f0a7851975..e3b553bcaaa1 100644 --- a/sw/source/filter/ww8/rtfimportfilter.cxx +++ b/sw/source/filter/ww8/rtfimportfilter.cxx @@ -84,7 +84,7 @@ sal_Bool RtfImportFilter::filter( const uno::Sequence< beans::PropertyValue >& a OUString sTemp; for ( sal_Int32 i = 0; i < aDescriptor.getLength(); i++ ) { - if( aDescriptor[i].Name == OUString(RTL_CONSTASCII_USTRINGPARAM("URL")) ) + if( aDescriptor[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("URL")) ) { aDescriptor[i].Value >>= sTemp; aURL = sTemp; |