"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "scribus/text/storytext.cpp" between
scribus-1.5.6.tar.xz and scribus-1.5.6.1.tar.xz

About: Scribus is a Linux desktop publishing program. Unstable version.

storytext.cpp  (scribus-1.5.6.tar.xz):storytext.cpp  (scribus-1.5.6.1.tar.xz)
skipping to change at line 1294 skipping to change at line 1294
assert(pos >= 0); assert(pos >= 0);
assert(pos <= length()); assert(pos <= length());
if (length() == 0) if (length() == 0)
{ {
// qDebug() << "storytext::charstyle: default"; // qDebug() << "storytext::charstyle: default";
return d->orphanedCharStyle; return d->orphanedCharStyle;
} }
if (pos == length()) if (pos == length())
{ {
qDebug() << "storytext::charstyle: access at end of text %i" << p os; //qDebug() << "storytext::charstyle: access at end of text %i" << pos;
--pos; --pos;
} }
if (text(pos) == SpecialChars::PARSEP) if (text(pos) == SpecialChars::PARSEP)
return paragraphStyle(pos).charStyle(); return paragraphStyle(pos).charStyle();
StoryText* that = const_cast<StoryText *>(this); StoryText* that = const_cast<StoryText *>(this);
if (hasMark(pos)) if (hasMark(pos))
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)