summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-10-22 17:29:08 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-10-22 17:57:18 +0200
commita3d4647e737f2640c96062cd481797fa71ba5ba4 (patch)
tree4155586e27871a76c776f2bfa9f6e92ac8b5a4c8 /test
parent01f7b8a16a32916f8fc984b2f66b69f53ed4068d (diff)
fix DOCDirStream::getString()
For all the other methods that read numbers, the getFoo variant just reads the memory, while the readFoo version also adjusts the stream position. Do the same for strings: make getString() not adjust the stream position, add a readString() that does so and adapt callers. With that, we can use the new getString() in DopTypography, and then seek to the expected position, without trying to figure out what the new position is. Also, remove xml mode in globals::getUTF8FromUTF16(): that was used by docdirstream only, and now even that no longer uses it.
Diffstat (limited to 'test')
-rw-r--r--test/doc/pass/novell717594-2.docbin0 -> 61440 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test/doc/pass/novell717594-2.doc b/test/doc/pass/novell717594-2.doc
new file mode 100644
index 0000000..03c455d
--- /dev/null
+++ b/test/doc/pass/novell717594-2.doc
Binary files differ