On Sat, 2002-11-30 at 02:59, John Levon wrote: > On Fri, Nov 29, 2002 at 05:48:07PM +0100, Otto Tronarp wrote: > [snip] > > Erm, I don't see how this EVER worked, or why it compiles for me ! > > I'll fix QGraphics.C but we need all examples >
Seems like you caught all the cases except one, see the attached patch. Otto
? stringfix.patch Index: QParagraph.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QParagraph.C,v retrieving revision 1.12 diff -u -r1.12 QParagraph.C --- QParagraph.C 2002/11/30 02:09:16 1.12 +++ QParagraph.C 2002/11/30 13:18:13 @@ -211,7 +211,7 @@ params.pagebreakTop(dialog_->pagebreakAbove->isChecked()); params.pagebreakBottom(dialog_->pagebreakBelow->isChecked()); // label width - params.labelWidthString(string(dialog_->labelWidth->text())); + params.labelWidthString(dialog_->labelWidth->text().latin1()); // indendation params.noindent(dialog_->noindent->isChecked());