diff options
author | Jan Holesovsky <kendy@collabora.com> | 2021-10-07 15:12:18 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-10-14 15:00:09 +0200 |
commit | 4feba9d025f1f97ea80854bc340ee0867eef8fff (patch) | |
tree | 9059364326bd731442b9f7ca442373094325e52f /filter | |
parent | 81b5638716fd71e61005ff16b59b0d330a86ec6e (diff) |
T602 is an obsolete format, don't assume .txt files are T602
Without this, when the user tries to open a 0-bytes .txt file, they are
asked for a Save As operation after they hit the Save button.
When we remove the 'txt' from the T602 detection, it rather asks if the
user wants to use ODT or Plain text (and lose formatting).
Change-Id: Ic48fa61064a9ed78c64d56bc8864f0e12528e072
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123216
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit d602c433a08c6df28198ceb61b95f5c6d85d1a87)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123401
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/fragments/types/writer_T602_Document.xcu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/config/fragments/types/writer_T602_Document.xcu b/filter/source/config/fragments/types/writer_T602_Document.xcu index c34f823da4ca..e9b3df39cf33 100644 --- a/filter/source/config/fragments/types/writer_T602_Document.xcu +++ b/filter/source/config/fragments/types/writer_T602_Document.xcu @@ -18,7 +18,7 @@ <node oor:name="writer_T602_Document" oor:op="replace" > <prop oor:name="DetectService"><value>com.sun.star.comp.Writer.T602ImportFilter</value></prop> <prop oor:name="URLPattern"/> - <prop oor:name="Extensions"><value>602 txt</value></prop> + <prop oor:name="Extensions"><value>602</value></prop> <prop oor:name="MediaType"><value>application/x-t602</value></prop> <prop oor:name="Preferred"><value>true</value></prop> <prop oor:name="PreferredFilter"><value>T602Document</value></prop> |