Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 24812 → Rev 24811

/trunk/Scribus/scribus/util_text.cpp
43,11 → 43,6
 
int findParagraphStyle(ScribusDoc* doc, const QString &name)
{
// This make behavior consistent with findParagraphStyle(ScribusDoc*, const ParagraphStyle&)
// for unnamed styles
if (name.isEmpty())
return -1;
 
for (int i = 0; i < doc->paragraphStyles().count(); ++i)
{
if (name == doc->paragraphStyles()[i].name())