Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 9615 → Rev 9614

/branches/Version135x/Scribus/scribus/scribusdoc.cpp
3056,8 → 3056,12
PageItem *ite = Items->at(c);
Q3PtrVector<VColorStop> cstops = ite->fill_gradient.colorStops();
for (uint cst = 0; cst < ite->fill_gradient.Stops(); ++cst)
ite->SetFarbe(&cstops.at(cst)->color, cstops.at(cst)->name, cstops.at(cst)->shade);
{
QColor tmpc = ScColorEngine::getRGBColor(PageColors[cstops.at(cst)->name], this);
ite->SetFarbe(&tmpc, cstops.at(cst)->name, cstops.at(cst)->shade);
cstops.at(cst)->color = tmpc;
}
}
uint masterItemsCount=MasterItems.count();
for (uint c=0; c<masterItemsCount; ++c)
{
3064,8 → 3068,12
PageItem *ite = MasterItems.at(c);
Q3PtrVector<VColorStop> cstops = ite->fill_gradient.colorStops();
for (uint cst = 0; cst < ite->fill_gradient.Stops(); ++cst)
ite->SetFarbe(&cstops.at(cst)->color, cstops.at(cst)->name, cstops.at(cst)->shade);
{
QColor tmpc = ScColorEngine::getRGBColor(PageColors[cstops.at(cst)->name], this);
ite->SetFarbe(&tmpc, cstops.at(cst)->name, cstops.at(cst)->shade);
cstops.at(cst)->color = tmpc;
}
}
uint frameItemsCount=FrameItems.count();
for (uint c=0; c<frameItemsCount; ++c)
{
3072,8 → 3080,12
PageItem *ite = FrameItems.at(c);
Q3PtrVector<VColorStop> cstops = ite->fill_gradient.colorStops();
for (uint cst = 0; cst < ite->fill_gradient.Stops(); ++cst)
ite->SetFarbe(&cstops.at(cst)->color, cstops.at(cst)->name, cstops.at(cst)->shade);
{
QColor tmpc = ScColorEngine::getRGBColor(PageColors[cstops.at(cst)->name], this);
ite->SetFarbe(&tmpc, cstops.at(cst)->name, cstops.at(cst)->shade);
cstops.at(cst)->color = tmpc;
}
}
QStringList patterns = docPatterns.keys();
for (int c = 0; c < patterns.count(); ++c)
{
3083,7 → 3095,11
PageItem *ite = pa.items.at(o);
Q3PtrVector<VColorStop> cstops = ite->fill_gradient.colorStops();
for (uint cst = 0; cst < ite->fill_gradient.Stops(); ++cst)
ite->SetFarbe(&cstops.at(cst)->color, cstops.at(cst)->name, cstops.at(cst)->shade);
{
QColor tmpc = ScColorEngine::getRGBColor(PageColors[cstops.at(cst)->name], this);
ite->SetFarbe(&tmpc, cstops.at(cst)->name, cstops.at(cst)->shade);
cstops.at(cst)->color = tmpc;
}
if (ite->asImageFrame())
loadPict(ite->Pfile, ite, true, false);
}