summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml/htmlout.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-30 15:29:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-30 15:29:32 +0200
commit4d21c085e6acdc6b61d0e890ebcabeb4a4b8151e (patch)
tree095dc3b099d0ce523ce40739a953f08ae12334bd /svtools/source/svhtml/htmlout.cxx
parentd7beb36e94a65f7cfea44b964aa7fbd2a734937b (diff)
loplugin:stringconstant: adapt to improved OUStringLiteral1 (svtools)
Change-Id: Ifdfc684ea894e637617de845facbad645ed6331c
Diffstat (limited to 'svtools/source/svhtml/htmlout.cxx')
-rw-r--r--svtools/source/svhtml/htmlout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index 99d9e38d5e84..285718db2a95 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -470,7 +470,7 @@ static OString lcl_ConvertCharToHTML( sal_Unicode c,
.append(';');
if( pNonConvertableChars &&
-1 == pNonConvertableChars->indexOf( c ) )
- (*pNonConvertableChars) += OUString(c);
+ (*pNonConvertableChars) += OUStringLiteral1(c);
}
}
return aDest.makeStringAndClear();