summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxattributeoutput.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.cxx')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 2c508672f1f5..ba45f4cba5e9 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2252,7 +2252,7 @@ bool DocxAttributeOutput::StartURL( const OUString& rUrl, const OUString& rTarge
std::vector<OString>& rNames = it->second;
if (rNames.size() > nIndex)
// We know the bookmark name for this sequence and this index, do the replacement.
- sMark = OStringToOUString(rNames[nIndex], RTL_TEXTENCODING_UTF8);
+ sMark = OUString::fromUtf8(rNames[nIndex]);
}
}
}