diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-05 23:12:40 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-09 13:20:49 +0000 |
commit | ac48e8c589233962bc68644b30bb184c3b0ee321 (patch) | |
tree | 508e2a6f52548a66b25943f5757da93f1ee701c6 /basctl/uiconfig | |
parent | 1ad69afb5174501685114c0bef39718def01fbcd (diff) |
fdo#64400: DXF import filter: fix OUString handling
The DXF import filter stores all strings read from the file in
char[DXF_MAX_STRING_LEN+1] arrays, and then calls OUString constructor
with that which then asserts because the string is actually shorter than
the size of the array... avoid that by converting from char* to OString.
Actually this also fixes the actual bug: the weird lines in the exported
PDF were tiny Text elements from the document, repeated.
(cherry picked from commit 96852a89da058084b2acf5ff706d9679b127b29a)
Conflicts:
filter/source/graphicfilter/idxf/dxf2mtf.cxx
filter/source/graphicfilter/idxf/dxfblkrd.hxx
filter/source/graphicfilter/idxf/dxfentrd.hxx
filter/source/graphicfilter/idxf/dxftblrd.hxx
Change-Id: I93c52788f88fe5d21968d450d029ed5db101d88b
Reviewed-on: https://gerrit.libreoffice.org/6152
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl/uiconfig')
0 files changed, 0 insertions, 0 deletions