diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-12-13 11:13:40 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-12-14 09:09:59 +0100 |
commit | 14daba5bd0ba64ff53ad98de7a84537ff03024ea (patch) | |
tree | ae8d2369a97834662b54401d384abd2e571fcd0e /filter/source/config | |
parent | b2b1debf06589bd91e437df47a2904574aaae316 (diff) |
Related: tdf#114428 filter: associate .xhtml with HTML import
Since there is no XHTML import; and this way the expensive "deep"
detection (that calls into all the DLP libs, etc) can be avoided.
Times for a hello world input: 56 -> 23 ms is spent in
Desktop::loadComponentFromURL() (41% of original).
Change-Id: Ia2dec3837cf0c548ae2c5a0ca4d47a57a6cbb92a
Reviewed-on: https://gerrit.libreoffice.org/46387
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'filter/source/config')
-rw-r--r-- | filter/source/config/fragments/types/generic_HTML.xcu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/config/fragments/types/generic_HTML.xcu b/filter/source/config/fragments/types/generic_HTML.xcu index b00b048d3842..b29ba333aded 100644 --- a/filter/source/config/fragments/types/generic_HTML.xcu +++ b/filter/source/config/fragments/types/generic_HTML.xcu @@ -18,7 +18,7 @@ <node oor:name="generic_HTML" oor:op="replace" > <prop oor:name="DetectService"><value>com.sun.star.comp.filters.PlainTextFilterDetect</value></prop> <prop oor:name="URLPattern"><value>private:factory/swriter/web*</value></prop> - <prop oor:name="Extensions"><value>html htm</value></prop> + <prop oor:name="Extensions"><value>html htm xhtml</value></prop> <prop oor:name="MediaType"><value>text/html</value></prop> <prop oor:name="Preferred"><value>false</value></prop> <prop oor:name="PreferredFilter"><value>HTML</value></prop> |