office-gobmx/unotools
Noel Grandin 02caa6e40c renames in template manager creates xml file in wrong location
revert part of
    commit dd42f133f6
    Author: Noel Grandin <noelgrandin@gmail.com>
    Date:   Mon Jan 10 19:37:05 2022 +0200
    tdf#146375 Cannot rename user-defined categories in template manager

specifically, revert the

>    Simplify the UCB usage to just write the contents of the tempfile

and also call SvStream::Flush() in utl::TempFile::GetURL(), so that
the data actually hits the disk, so that when UCB attempts to read
the data using a separate file handle, it sees the data.

(Otherwise the temporary file data only exists in the operating system
buffers, and can only be read by the same file handle that created it)

Change-Id: I17798c53e49d65484605f2dcd96b45babd70054d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130499
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-25 12:13:00 +01:00
..
inc/pch
qa
source renames in template manager creates xml file in wrong location 2022-02-25 12:13:00 +01: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.