tdf#113877 Insert doc: merge list into text with specifc style

When inserting document, in the current position the text could have custom
style but really it is the same Standard style. Therefore we should not
merge first inserted node into the insert position and just overwrite
style in the insert position with text style from the inserted node.

Reviewed-on: https://gerrit.libreoffice.org/56052
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-on: https://gerrit.libreoffice.org/56408
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit e78239c928de1c73a7dda5a37ff38a1407ced052)

Change-Id: Ib67c56bed3d30f356f83dc0b4d4a1710def10853
4 files changed
tree: 4bc701916ef36d5c47577341a113367ea6f64c05
  1. .git-hooks/
  2. accessibility/
  3. android/
  4. animations/
  5. apple_remote/
  6. avmedia/
  7. basctl/
  8. basebmp/
  9. basegfx/
  10. basic/
  11. bean/
  12. bin/
  13. binaryurp/
  14. bridges/
  15. canvas/
  16. chart2/
  17. cli_ure/
  18. codemaker/
  19. comphelper/
  20. compilerplugins/
  21. config_host/
  22. configmgr/
  23. connectivity/
  24. cppcanvas/
  25. cppu/
  26. cppuhelper/
  27. cpputools/
  28. crashrep/
  29. cui/
  30. dbaccess/
  31. desktop/
  32. distro-configs/
  33. drawinglayer/
  34. dtrans/
  35. editeng/
  36. embeddedobj/
  37. embedserv/
  38. eventattacher/
  39. extensions/
  40. external/
  41. extras/
  42. filter/
  43. firefoxos/
  44. forms/
  45. formula/
  46. fpicker/
  47. framework/
  48. helpcompiler/
  49. hwpfilter/
  50. i18nlangtag/
  51. i18npool/
  52. i18nutil/
  53. icon-themes/
  54. idl/
  55. idlc/
  56. include/
  57. instsetoo_native/
  58. io/
  59. ios/
  60. javaunohelper/
  61. jurt/
  62. jvmaccess/
  63. jvmfwk/
  64. l10ntools/
  65. librelogo/
  66. lingucomponent/
  67. linguistic/
  68. lotuswordpro/
  69. m4/
  70. mysqlc/
  71. nlpsolver/
  72. o3tl/
  73. odk/
  74. offapi/
  75. officecfg/
  76. oovbaapi/
  77. oox/
  78. package/
  79. padmin/
  80. postprocess/
  81. psprint_config/
  82. pyuno/
  83. qadevOOo/
  84. readlicense_oo/
  85. registry/
  86. remotebridges/
  87. reportbuilder/
  88. reportdesign/
  89. ridljar/
  90. rsc/
  91. sal/
  92. salhelper/
  93. sax/
  94. sc/
  95. scaddins/
  96. sccomp/
  97. scp2/
  98. scripting/
  99. sd/
  100. sdext/
  101. setup_native/
  102. sfx2/
  103. shell/
  104. slideshow/
  105. smoketest/
  106. solenv/
  107. soltools/
  108. sot/
  109. starmath/
  110. stoc/
  111. store/
  112. svgio/
  113. svl/
  114. svtools/
  115. svx/
  116. sw/
  117. swext/
  118. sysui/
  119. test/
  120. testtools/
  121. toolkit/
  122. tools/
  123. touch/
  124. tubes/
  125. ucb/
  126. ucbhelper/
  127. udkapi/
  128. UnoControls/
  129. unodevtools/
  130. unoidl/
  131. unoil/
  132. unotest/
  133. unotools/
  134. unoxml/
  135. ure/
  136. uui/
  137. vbahelper/
  138. vcl/
  139. winaccessibility/
  140. wizards/
  141. writerfilter/
  142. writerperfect/
  143. xmerge/
  144. xmlhelp/
  145. xmloff/
  146. xmlreader/
  147. xmlscript/
  148. xmlsecurity/
  149. .gitattributes
  150. .gitignore
  151. .gitmodules
  152. .gitreview
  153. autogen.sh
  154. config.guess
  155. config.sub
  156. config_host.mk.in
  157. configure.ac
  158. COPYING
  159. COPYING.LGPL
  160. COPYING.MPL
  161. download.lst
  162. g
  163. install-sh
  164. Library_merged.mk
  165. Library_urelibs.mk
  166. lo.xcent.in
  167. logerrit
  168. Makefile.fetch
  169. Makefile.gbuild
  170. Makefile.in
  171. README.Android
  172. README.Code
  173. README.cross
  174. README.Solaris
  175. Repository.mk
  176. RepositoryExternal.mk
  177. RepositoryFixes.mk
  178. RepositoryModule_build.mk
  179. RepositoryModule_host.mk
  180. TEMPLATE.SOURCECODE.HEADER
  181. unusedcode.easy
  182. unusedcode.exclude
  183. unusedcode.README