diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-06-02 10:57:23 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-06-05 16:32:24 +0200 |
commit | d7c0761b5ce036b5e3d2ee0252e367bd7e81d5c5 (patch) | |
tree | 5e106b909d353bc1e6b6d9f8d5213654746adba2 /.gitreview | |
parent | 42b13c83fed7345418f2a2fc5062c33d0559b8ad (diff) |
Related: tdf#108269 oox: allow recovering broken DOCM files
The content type inside an OOXML file differs for DOCX and DOCM. These
must be in sync with the file extension, otherwise MSO refuses to open
the file. We used to always write the DOCX content-type even for files
which had the DOCM extension.
Allow users to recover those broken files by detecting a "has docm
extension but docx content-type" file as docm, so re-saving it will
produce output that's accepted by MSO as well.
(cherry picked from commit 97fa7024ce608b7908aca369e8c643a5de9ebf78)
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport9.cxx
Change-Id: I7d60c6f6c1d0421e95b3dc9e8fff617f101919f5
Reviewed-on: https://gerrit.libreoffice.org/38357
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to '.gitreview')
-rw-r--r-- | .gitreview | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitreview b/.gitreview index af98cab9298b..d55cb9e93d54 100644 --- a/.gitreview +++ b/.gitreview @@ -3,5 +3,5 @@ host=logerrit port=29418 project=core defaultremote=logerrit -defaultbranch=libreoffice-5-3 +defaultbranch=distro/collabora/cp-5.3 |