Base the convert-to detection on the actual service

Desktop / LibreOffice - Maxim Monastirsky [gmail.com] - 21 August 2014 16:02 UTC

There is no need to run a type detection on the input file (for a second time!), just to get the document service.

This also simplifies the conversion of some generic formats like HTML and RTF, using Calc export filters. Previously setting both input and output filters was required. Now it's enough to set the input filter, or simply use --calc.

9df3a83 Base the convert-to detection on the actual service
desktop/source/app/dispatchwatcher.cxx | 48 ++++++++++----------------------
1 file changed, 14 insertions(+), 34 deletions(-)

Upstream: cgit.freedesktop.org


  • Share