Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 3292 → Rev 3293

/branches/Version13x/Scribus/scribus/scribusview.cpp
8652,7 → 8652,7
else
Doc->FirstAuto = Doc->Items.at(z);
Doc->LastAuto = Doc->Items.at(z);
Doc->Items.at(z)->SetRectFrame();
//Doc->Items.at(z)->SetRectFrame();
setRedrawBounding(Doc->Items.at(z));
if (nr > 0)
{
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp
24,7 → 24,7
int i = ScApp->doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, pageUnitXToDocX(x), pageUnitYToDocY(y),
ValueToPoint(b), ValueToPoint(h), ScApp->doc->toolSettings.dWidth,
ScApp->doc->toolSettings.dBrush, ScApp->doc->toolSettings.dPen, !ScApp->view->Mpressed);
ScApp->doc->Items.at(i)->SetRectFrame();
//ScApp->doc->Items.at(i)->SetRectFrame();
ScApp->view->setRedrawBounding(ScApp->doc->Items.at(i));
if (Name != "")
ScApp->doc->Items.at(i)->setItemName(QString::fromUtf8(Name));
55,7 → 55,7
PyErr_SetString(NameExistsError, QObject::tr("An object with the requested name already exists.","python error"));
return NULL;
}
ScApp->doc->Items.at(i)->SetOvalFrame();
//ScApp->doc->Items.at(i)->SetOvalFrame();
ScApp->view->setRedrawBounding(ScApp->doc->Items.at(i));
if (Name != "")
ScApp->doc->Items.at(i)->setItemName(QString::fromUtf8(Name));
78,7 → 78,7
PyErr_SetString(NameExistsError, QObject::tr("An object with the requested name already exists.","python error"));
return NULL;
}
ScApp->doc->Items.at(i)->SetRectFrame();
//ScApp->doc->Items.at(i)->SetRectFrame();
ScApp->view->setRedrawBounding(ScApp->doc->Items.at(i));
if (Name != "")
ScApp->doc->Items.at(i)->setItemName(QString::fromUtf8(Name));
103,7 → 103,7
PyErr_SetString(NameExistsError, QObject::tr("An object with the requested name already exists.","python error"));
return NULL;
}
ScApp->doc->Items.at(i)->SetRectFrame();
//ScApp->doc->Items.at(i)->SetRectFrame();
ScApp->view->setRedrawBounding(ScApp->doc->Items.at(i));
if (Name != "")
ScApp->doc->Items.at(i)->setItemName(QString::fromUtf8(Name));