r14679 by jghali - #8793: crash when doc contains hyphenated text frame in master page
scribus-commit
scribus-commit at lists.scribus.net
Wed Feb 10 22:50:19 CET 2010
Revision: 14679
Author: jghali
Date: 2010-02-10T21:41:08.364691Z
Commit message: #8793: crash when doc contains hyphenated text frame in master page
Changeset:
M /branches/Version135/Scribus/scribus/sctextstruct.h
Diffs:
Index: scribus/sctextstruct.h
===================================================================
--- scribus/sctextstruct.h (revision 14678)
+++ scribus/sctextstruct.h (revision 14679)
@@ -139,6 +139,15 @@
PtransX(other.PtransX), PtransY(other.PtransY), PRot(other.PRot), PDx(other.PDx),
embedded(other.embedded), ch(other.ch)
{
+ glyph.more = NULL;
+ GlyphLayout *layout = &glyph;
+ const GlyphLayout *otherLayout = &other.glyph;
+ while (otherLayout->more)
+ {
+ layout->more = new GlyphLayout(*otherLayout->more);
+ layout = layout->more;
+ otherLayout = otherLayout->more;
+ }
if (other.parstyle)
parstyle = new ParagraphStyle(*other.parstyle);
}
More information about the scribus-commit
mailing list