Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 24811 → Rev 24812

/trunk/Scribus/scribus/util_text.cpp
43,6 → 43,11
 
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())