diff options
author | Justin Luth <justin_luth@sil.org> | 2021-09-03 15:19:50 +0200 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2021-09-06 17:52:54 +0200 |
commit | 23ec2a69123e983259b3f7fec73932270cd85e02 (patch) | |
tree | d3c8fe6853a3f8fec71dd94f873a5736991c162d /extras/source/autotext/lang/sr | |
parent | b13e8762a765b9ec619647d5f447d44156c8c5d1 (diff) |
remove unnecessary settings.xml from autotext
I don't think that anyone wants their document settings adjusted
just by entering some autotext.
[Now, it didn't seem to be doing that because I suppose that since
the value already exists, the import won't overwrite it.]
find extras/source -name settings.xml | md5sum | sort
//shows only a few unique entries. Visual comparing with "Meld"
//didn't reveal any reason why the files are useful.
I also removed ./autotext/lang/bg/standard/FN/Obj0012D655/settings.xml
based on Laurent's advice, even though it contains
<config:config-item config:name="Formula" E=mc^2
Otherwise, the other 7 versions were almost identical, differening
only in OOo version .9, or 1.1 and show redline changes on/off.
cd exttras/source
find . -name settings.xml -exec rm {} \;
git grep -l \/settings.xml *.xml | xargs sed -i /\/settings.xml/d
git grep -l \/settings.xml ../CustomTarget_autotextshare.mk \
| xargs sed -i "/\/settings.xml/d"
Change-Id: I9c148bdff55e6757e6fa98401486bc7c41ebf25d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121605
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'extras/source/autotext/lang/sr')
-rw-r--r-- | extras/source/autotext/lang/sr/standard/FN/Object_1/settings.xml | 15 | ||||
-rw-r--r-- | extras/source/autotext/lang/sr/standard/META-INF/manifest.xml | 1 |
2 files changed, 0 insertions, 16 deletions
diff --git a/extras/source/autotext/lang/sr/standard/FN/Object_1/settings.xml b/extras/source/autotext/lang/sr/standard/FN/Object_1/settings.xml deleted file mode 100644 index 597701bb8ff7..000000000000 --- a/extras/source/autotext/lang/sr/standard/FN/Object_1/settings.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<office:document-settings xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" office:version="1.2"> - <office:settings> - <config:config-item-set config:name="ooo:view-settings"> - <config:config-item config:name="ViewAreaTop" config:type="int">0</config:config-item> - <config:config-item config:name="ViewAreaLeft" config:type="int">0</config:config-item> - </config:config-item-set> - <config:config-item-set config:name="ooo:configuration-settings"> - <config:config-item config:name="Alignment" config:type="short">1</config:config-item> - <config:config-item config:name="LoadReadonly" config:type="boolean">false</config:config-item> - <config:config-item config:name="PrinterName" config:type="string"/> - </config:config-item-set> - </office:settings> -</office:document-settings>
\ No newline at end of file diff --git a/extras/source/autotext/lang/sr/standard/META-INF/manifest.xml b/extras/source/autotext/lang/sr/standard/META-INF/manifest.xml index 88a922cc2329..121165d2b8b2 100644 --- a/extras/source/autotext/lang/sr/standard/META-INF/manifest.xml +++ b/extras/source/autotext/lang/sr/standard/META-INF/manifest.xml @@ -3,7 +3,6 @@ <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:file-entry manifest:full-path="/" manifest:media-type=""/> <manifest:file-entry manifest:full-path="FN/content.xml" manifest:media-type="text/xml"/> - <manifest:file-entry manifest:full-path="FN/Object_1/settings.xml" manifest:media-type="text/xml"/> <manifest:file-entry manifest:full-path="FN/Object_1/content.xml" manifest:media-type="text/xml"/> <manifest:file-entry manifest:full-path="FN/Object_1/" manifest:media-type="application/vnd.oasis.opendocument.formula"/> <manifest:file-entry manifest:full-path="FN/manifest.rdf" manifest:media-type="application/rdf+xml"/> |