Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 23089 → Rev 23069

/branches/Version14x/Scribus/scribus/scribusdoc.cpp
5804,8 → 5804,8
 
void ScribusDoc::itemSelection_SetFont(QString font, Selection* customSelection)
{
Selection* itemSelection = (customSelection != NULL) ? customSelection : m_Selection;
assert(itemSelection != NULL);
Selection* itemSelection = (customSelection != nullptr) ? customSelection : m_Selection;
assert(itemSelection != nullptr);
 
uint selectedItemCount = itemSelection->count();
if (selectedItemCount == 0)