sw: downgrade assertions about legacy SvxBrushItem to SAL_INFO

These produce a lot of noise, and do not indicate a real bug.

Change-Id: I355f6788af92529804cef2567ee2f8b3e4a1e807
SwXText::insertTextContentWithProperties: call EndUndo on exception

Change-Id: Ia43a4ba643b3a3f5e362204de141eae0f73ad0db
typo

Change-Id: Ic820daa58574fb37a737b632ba6c58d31ccb8114
(related: fdo#79319) writerfilter: RTF import: fix crash on "fake" pict

The document has a \pict with {\sp{\sn shapeType}{\sv 1}}, i.e. it's
actually a rectangle shape; Word seems to ignore the picture data in
this case, so try to do the same.  Also consolidate the shape creation
in a new function RTFSdrImport::initShape().

(regression from ba9b63d8101197d3fd8612193b1ca188271dfc1a)

Change-Id: Iec94852ddc4c1ca3d8284119e6f1818a8dbb4149
fdo#79319: writerfilter: RTF import: support horizontal rule

There are special properties to create a "horizontal rule" shape
that apparently set some specific defaults; this prevents the
shape being imported as a big fat rectangle over the document.

Change-Id: I402376d7306e870ad895beaa657750cbf3290d98
(related: fdo#79319): writerfilter: RTF imoprt: don't lose shapes in header

With a horizontal rule, it's possible that there is no \par following it
in a header, so RemoveLastParagraph() will delete the paragraph where
the shape is anchored (and so the shape as well).  Avoid that by adding
an extra \par if there is no \par following a shape.

Change-Id: I4840417880c98203866c9dcde51627516618f2d0