Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 4751 → Rev 4752

/branches/Version13x/Scribus/scribus/text/storytext.cpp
88,7 → 88,7
assert( pos >= 0 );
assert( pos + static_cast<int>(len) <= length() );
 
for ( int i=0; i < len; ++i )
for ( uint i=0; i < len; ++i )
{
ScText *it = take(i);
if ((it->ch == SpecialChars::OBJECT) && (it->cembedded != 0)) {
111,7 → 111,7
const CharStyle style = charStyle(pos);
for (int i = 0; i < txt.length(); ++i) {
for (uint i = 0; i < txt.length(); ++i) {
ScText * item = new ScText();
item->ch= txt.mid(i, 1);
*static_cast<CharStyle *>(item) = style;
314,7 → 314,7
bool StoryText::selected(int pos) const
{
return (selFirst <= pos && pos <= selLast)
|| (pos >= 0 && pos < length() && at(pos)->cselect);
|| (pos >= 0 && pos < length() && const_cast<StoryText*>(this)->at(pos)->cselect);
}
 
void StoryText::select(int pos, uint len, bool on)