diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-05-30 23:50:18 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-06-08 22:34:45 +0200 |
commit | 3951d44110df55589ff80f5eab752817c2475c0d (patch) | |
tree | 1e1afce8a09016a26e6cc41c9dbaa35ecebfb523 | |
parent | 48e75d8107d64920dd90c5d98b79dc982e311fa3 (diff) |
tdf#37859: Odb data copied to Calc showed wrong encoding in Windows
Blind fix since I don't have Windows.
If it works, many thanks to:
- Urmas (see https://bugs.documentfoundation.org/show_bug.cgi?id=37859#c16)
- Himajin100000 (see https://bugs.documentfoundation.org/show_bug.cgi?id=37859#c35)
Change-Id: I9fd84977eab8410ec022b6e34f1a636326eaf56a
Reviewed-on: https://gerrit.libreoffice.org/38253
(cherry picked from commit 39487b14956d883899311b6294f6f09ca2371366)
Reviewed-on: https://gerrit.libreoffice.org/38547
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | dbaccess/source/ui/misc/TokenWriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index 9399f1ea3db8..eee419355bb5 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -688,7 +688,7 @@ void OHTMLImportExport::WriteHeader() IncIndent(1); TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_head ); SfxFrameHTMLWriter::Out_DocInfo( (*m_pStream), OUString(), - xDocProps, sIndent ); + xDocProps, sIndent, osl_getThreadTextEncoding() ); OUT_LF(); IncIndent(-1); OUT_LF(); TAG_OFF_LF( OOO_STRING_SVTOOLS_HTML_head ); } |