office-gobmx/unotools
Noel Grandin ecea9c42d5 fix failure in JunitTest_unotools_complex
Temp files created from OTempFileService are always opened with StreamMode::SHARE_DENYALL.
So normally you can't open them twice.

But the JunitTest_unotools_complex unit test used to work because it exploited a pessimisation in OTempFileService,
where that code would close the file when we read to the end.

Which meant that the unit test could open it again and read it.

However, in
    commit 218f36dd61
    Date:   Sun Jun 20 18:51:12 2021 +0200
    tdf#135316 remove OTempFileService pessimisation
I removed that pessimisation.

So make the share mode a little more permissive.

Change-Id: I297a5c9c0505816b399fad29414077d03231ec72
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118146
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-06-30 11:30:49 +02:00
..
inc/pch
qa fix failure in JunitTest_unotools_complex 2021-06-30 11:30:49 +02:00
source fix failure in JunitTest_unotools_complex 2021-06-30 11:30:49 +02:00
util
CppunitTest_unotools_fontdefs.mk
IwyuFilter_unotools.yaml
JunitTest_unotools_complex.mk
Library_utl.mk
Makefile
Module_unotools.mk
README.md

UNO C++ Helpers

Helpers for C++ use of UNO.