summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-03-03 14:56:17 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-03-03 14:57:01 +0100
commit39c2a52d198f513c2f5afbd38dd9b14bff388d6e (patch)
tree8449dcbf35c67fdcc24036fb73c07038708a0985 /sw
parentValueSet: simplified autoscroll logic (diff)
downloadcore-39c2a52d198f513c2f5afbd38dd9b14bff388d6e.tar.gz
core-39c2a52d198f513c2f5afbd38dd9b14bff388d6e.zip
Avoid temporary rtl::OUString
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/rtfimportfilter.cxx2
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;