Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 389 → Rev 390

/trunk/Scribus/scribus/story.cpp
2137,6 → 2137,21
doc->Trenner->slotNewDict(nb->Language);
doc->Trenner->slotHyphenate(nb);
}
bool rep = doc->RePos;
doc->RePos = true;
QPixmap pgPix(1, 1);
ScPainter *painter = new ScPainter(&pgPix, 1, 1);
painter->translate(0.5, 0.5);
nb->DrawObj(painter, QRect(0, 0, 1, 1));
painter->end();
delete painter;
doc->RePos = rep;
nb2 = nb;
while (nb2 != 0)
{
nb2->Dirty = false;
nb2 = nb2->NextBox;
}
doc->ActPage->update();
TextChanged = false;
emenu->setItemEnabled(Mupdt, 0);
/trunk/Scribus/scribus/pageitem.cpp
1495,6 → 1495,8
}
}
p->save();
bool rep = Doc->RePos;
Doc->RePos = true;
NextBox->Dirty = false;
QPixmap pgPix(1, 1);
ScPainter *painter = new ScPainter(&pgPix, 1, 1);
1506,6 → 1508,7
p->restore();
if (NextBox->OwnPage != OwnPage)
NextBox->OwnPage->update();
Doc->RePos = rep;
}
else
{