Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 14694 → Rev 14695

/branches/Version135/Scribus/scribus/plugins/scriptplugin/cmdobj.cpp
296,8 → 296,8
QString objName = QString::fromUtf8(Name);
if (!ItemExists(objName))
{
ScCore->primaryMainWindow()->doc->Items->at(i)->setItemName(objName);
ScCore->primaryMainWindow()->doc->Items->at(i)->AutoName = false;
ScCore->primaryMainWindow()->doc->Items->at(ic)->setItemName(objName);
ScCore->primaryMainWindow()->doc->Items->at(ic)->AutoName = false;
}
}
return PyString_FromString(it->itemName().toUtf8());
383,8 → 383,8
QString objName = QString::fromUtf8(Name);
if (!ItemExists(objName))
{
ScCore->primaryMainWindow()->doc->Items->at(i)->setItemName(objName);
ScCore->primaryMainWindow()->doc->Items->at(i)->AutoName = false;
ScCore->primaryMainWindow()->doc->Items->at(ic)->setItemName(objName);
ScCore->primaryMainWindow()->doc->Items->at(ic)->AutoName = false;
}
}
return PyString_FromString(it->itemName().toUtf8());
479,8 → 479,8
QString objName = QString::fromUtf8(Name);
if (!ItemExists(objName))
{
ScCore->primaryMainWindow()->doc->Items->at(i)->setItemName(objName);
ScCore->primaryMainWindow()->doc->Items->at(i)->AutoName = false;
ScCore->primaryMainWindow()->doc->Items->at(ic)->setItemName(objName);
ScCore->primaryMainWindow()->doc->Items->at(ic)->AutoName = false;
}
}
return PyString_FromString(it->itemName().toUtf8());