Created attachment 61119 [details]
document with table inserted wrongly
Version: 2.4-snapshots (using KDE 4.6.4)
Have a look at the attached document. I marked and copied a word from one cell and inserted it in an empty one. Instead of copying the single word (e.g. "bold"), Words inserted the whole table into the empty cell. It's inertable ad infinitum.
Fixed with 76084e245c9f4251a49b091c21ad1c10b6453710
Git commit 3e5052b560d8cdf5ccfdd40101dc16363e31af0b by C. Boemann.
Committed on 29/03/2015 at 13:37.
Pushed by boemann into branch 'calligra/2.9'.
When copying two tables we would get a crash as we were assuming it was all one table.
But trying to fix that it turns out we had a bigger issue. We couldn't copy a part of a table,
so I fixed that instead keeping in mind that we could have selected more than on table.
Related: bug 330284
M +13 -27 libs/kotext/opendocument/KoTextWriter.cpp
M +17 -6 libs/kotext/opendocument/KoTextWriter_p.cpp
M +1 -1 libs/kotext/opendocument/KoTextWriter_p.h