Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 3148 → Rev 3149

/branches/Version13x/Scribus/scribus/scribusview.cpp
11850,20 → 11850,20
for(uint i=0; i<selectedItemCount; ++i)
{
PageItem *currItem = SelItem.at(offset);
if ((currItem->itemType()!=PageItem::TextFrame) || (currItem->isTableItem && currItem->isSingleSel) || (currItem->locked()))
bool cont=false;
if ((currItem->itemType()!=PageItem::TextFrame) || (currItem->isTableItem && currItem->isSingleSel) || (currItem->locked()) || currItem->itemText.count() == 0)
cont=true;
if (currItem==ScApp->storyEditor->currentItem() && Doc==ScApp->storyEditor->currentDocument())
{
++offset;
continue;
QMessageBox::information(ScApp, tr("Cannot Convert In-Use Item"), "<qt>" + tr("The item %1 is currently being edited by Story Editor. The convert to outlines operation for this item will be skipped").arg(currItem->itemName()) + "</qt>", QMessageBox::Ok, QMessageBox::NoButton, QMessageBox::NoButton);
cont=true;
}
if (currItem==ScApp->storyEditor->currentItem() && Doc==ScApp->storyEditor->currentDocument())
//Deselect();
if (cont)
{
QMessageBox::critical(ScApp, tr("Cannot Convert In-Use Item"), tr("The item %1 is currently being edited by Story Editor. The convert to outlines operation for this item will be skipped").arg(currItem->itemName()), QMessageBox::Ok, QMessageBox::NoButton, QMessageBox::NoButton);
++offset;
continue;
}
//Deselect();
if (currItem->itemText.count() == 0)
continue;
}
newGroupedItems.clear();
FPointArray pts;
double x, y;