summaryrefslogtreecommitdiff
path: root/udkapi
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-14 19:27:28 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-02-18 11:15:56 +0000
commit6972ce2673c9a1ad0de1a09c4ecf4fd036c59826 (patch)
tree01cfe937450de1057c670808bf0fbd934f3df0ef /udkapi
parent963f9d31675706ac46a71687f6e6d561ba147c9d (diff)
fdo#60732: SwTxtNode: limit to less than STRING_LEN chars
It's not a good idea to have STRING_LEN characters in a SwTxtNode because then there is no valid SwPosition at the end of the paragraph. Also it turns out that LO 3.6 and 4.0 do rather stupid things with a full SwTxtNode. So enforce a limit, at first in the usual places that are used during file import, SwTxtNode::InsertText() and SwCntntNode::CanJoinPrev()/CanJoinNext(). (cherry picked from commit 549c0f785d4b6d4bc1b39b22827d77d66f48430a) Conflicts: sw/source/core/docnode/node.cxx Change-Id: Icb0f44acd20aa81635d42b84d4ae0f9b693a661c Reviewed-on: https://gerrit.libreoffice.org/2178 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'udkapi')
0 files changed, 0 insertions, 0 deletions