summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-04-06 13:22:26 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-04-06 13:51:42 +0200
commite4f53484d255f844169957c411dc3e872af7d3bb (patch)
tree3eda6b7efe197c71d83ba10335fffba479249649 /sd
parent2f4d577e60a934e2845c90e00bac06072351ec65 (diff)
tdf#148413: Drop HTML export encoding configuration; use UTF-8
Anything else is just a joke today. Change-Id: Ie6a0cec1edcd257cbadef702018e6a919e6a0b44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132628 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/html/htmlex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 158a0b57d103..9ceffc8a515a 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -1065,7 +1065,7 @@ OUString HtmlExport::DocumentMetadata() const
OUString aNonConvertableCharacters;
SfxFrameHTMLWriter::Out_DocInfo(aStream, maDocFileName, xDocProps,
- " ", RTL_TEXTENCODING_UTF8,
+ " ",
&aNonConvertableCharacters);
const sal_uInt64 nLen = aStream.GetSize();
@@ -2809,7 +2809,7 @@ OUString HtmlExport::CreateHTMLRectArea( const ::tools::Rectangle& rRect,
OUString HtmlExport::StringToHTMLString( const OUString& rString )
{
SvMemoryStream aMemStm;
- HTMLOutFuncs::Out_String( aMemStm, rString, RTL_TEXTENCODING_UTF8 );
+ HTMLOutFuncs::Out_String( aMemStm, rString );
aMemStm.WriteChar( char(0) );
sal_Int32 nLength = strlen(static_cast<char const *>(aMemStm.GetData()));
return OUString( static_cast<char const *>(aMemStm.GetData()), nLength, RTL_TEXTENCODING_UTF8 );