summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-07-09 17:57:13 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-07-10 13:03:45 +0200
commit3bd5ff846120f65d21a8dfdf9cf5253669c68554 (patch)
tree2d5238c263ba30f225caf32ce80bf0d868315a35 /svx
parent48073e1601b14563439c6505f6888921598a4cc5 (diff)
tdf#118578 sw: allow inserting only TextDocument
There are 3 sw document services: TextDocument, WebDocument and GlobalDocument. The current logic in SwView::InsertDoc() and SwView_Impl::StartDocumentInserter() is to request a filter with the same document service as the existing target document, so you can insert only a GlobalDocument into a GlobalDocument, which doesn't make much sense. As it happens there are 2 different HTML import filters: "HTML" and "HTML (StarWriter)", the latter using the TextDocument service. So just hard-code to allow TextDocument regardless of the target document. (regression from 805fd1ca343d6295b8114a24cc29bdac332f266d) Change-Id: I7dc0dd4789fba8b61625ca8eae74a864aea383b0 Reviewed-on: https://gerrit.libreoffice.org/57193 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit 572b298e636612416b8223ff6e6f2d26ab51a243) Reviewed-on: https://gerrit.libreoffice.org/57223 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'svx')
0 files changed, 0 insertions, 0 deletions