summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/swhtml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/swhtml.cxx')
-rw-r--r--sw/source/filter/html/swhtml.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 231ad8443fce..466e0d6e8c71 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -169,7 +169,7 @@ OUString HTMLReader::GetTemplateName(SwDoc& rDoc) const
// HTML import into Writer, avoid loading the Writer/Web template.
return OUString();
- const OUString sTemplateWithoutExt("internal/html");
+ static const OUStringLiteral sTemplateWithoutExt(u"internal/html");
SvtPathOptions aPathOpt;
// first search for OpenDocument Writer/Web template
@@ -5590,7 +5590,7 @@ void HTMLReader::SetupFilterOptions()
return;
OUString aFilterOptions = pItem->GetValue();
- const OUString aXhtmlNsKey("xhtmlns=");
+ static const OUStringLiteral aXhtmlNsKey(u"xhtmlns=");
if (aFilterOptions.startsWith(aXhtmlNsKey))
{
OUString aNamespace = aFilterOptions.copy(aXhtmlNsKey.getLength());