writerfilter/source/ooxml/modelpreprocess.py | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit 5170d822aa058ff5abc737a50e2b9d8e15b87eab Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Mon Aug 25 09:35:11 2014 +0200 writerfilter: remove unused application attribute Change-Id: Ic4e16f8303611197e7d2a149e85c7b73dc30bcc8 diff --git a/writerfilter/source/ooxml/modelpreprocess.py b/writerfilter/source/ooxml/modelpreprocess.py index 6b2e874..1273b12 100644 --- a/writerfilter/source/ooxml/modelpreprocess.py +++ b/writerfilter/source/ooxml/modelpreprocess.py @@ -133,12 +133,6 @@ def preprocess(model): j.setAttribute("prefix", prefix) j.setAttribute("localname", localname) - for i in model.getElementsByTagName("grammar"): - if i.getAttribute("ns").startswith("http://schemas.openxmlformats.org/"): - i.setAttribute("application", i.getAttribute("ns").replace('http://schemas.openxmlformats.org/', '').split('/')[0]) - else: - i.setAttribute("application", "") - namespacesPath = sys.argv[1] modelPath = sys.argv[2] _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits