diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-05-30 23:50:18 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-06-07 16:14:52 +0200 |
commit | 39487b14956d883899311b6294f6f09ca2371366 (patch) | |
tree | cf4aed06c4e0195c0589dc4ae20fd6b42e487226 /dbaccess | |
parent | 8b152f1aaef162885d2e87db4c47d86fd811b491 (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
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'dbaccess')
-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 04bce2e1f210..4ab9b6e26bce 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -675,7 +675,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 ); } |