[REVIEW][3-5][3-5-1] paste into draw from writer if writer doc has tables in header/footer -> kaboom

Caolán McNamara caolanm at redhat.com
Mon Feb 27 05:13:23 PST 2012


Fix for https://bugs.freedesktop.org/show_bug.cgi?id=46038 proposed is
http://cgit.freedesktop.org/libreoffice/core/commit/?id=15547450bdba10959473c2cb5891f29ad5053b09

pasting any content from a writer document to draw *if* the source
writer document has a table in a header/footer (even if not selected)
will draw draw.

Because draw has a silly way to determine if the pasted content should
be inserted into a table and writer has a silly extension to rtf to try
and retain its page styles in rtf.

Regression triggered by my desire to put styles into the clipboard
document so we get wysiwyg paste. Simplest and easiest fix is to omit
the page styles from the clipboard doc, in old-school we had no styles
in there, so should be fine.

C.



More information about the LibreOffice mailing list