diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2021-01-28 18:34:18 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-02-01 09:37:20 +0100 |
commit | a62878ff86ecb38f9ea9fbe99f06518ed6016566 (patch) | |
tree | 89a2b2b46d7741223f107d12555b61379f3a260c /solenv | |
parent | 21312572497e43317faa2f115a2a5449a97f1b44 (diff) |
tdf#60237 - correct the behaviour of the Overwrite property
If the Overwrite property of the MediaDescriptor is set to false, try to
write the file before trying to rename or copy it. If the file already
exists, raise an error (ERRCODE_IO_ALREADYEXISTS). In addition, the
documentation about the default option was corrected.
Change-Id: I1031dca3a039343fc599d194fcaa99a20dd13e2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110089
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'solenv')
0 files changed, 0 insertions, 0 deletions