/trunk/Scribus/scribus/hyphenator.cpp |
---|
84,7 → 84,7 |
} |
} |
return true; |
return (m_codec != 0 && m_hdict != 0); |
} |
void Hyphenator::slotNewSettings(bool Autom, bool ACheck) |
98,6 → 98,7 |
{ |
if (text.contains(SpecialChars::SHYPHEN)) |
return; |
const CharStyle& style = it->itemText.charStyle(firstC); |
if (text.length() >= style.hyphenWordMin()) |
{ |
/trunk/Scribus/scribus/langmgr.cpp |
---|
738,6 → 738,8 |
int LanguageManager::langTableIndex(const QString &abbrev) |
{ |
// qDebug()<<"langTableIndex: Trying to find:"<<abbrev; |
if (abbrev.isEmpty()) |
return -1; |
for (int i = 0; i < m_langTable.size(); ++i) |
{ |
// qDebug()<<abbrev<<langTable[i].m_priAbbrev<<langTable[i].m_altAbbrev; |