Commit 7dbc4f48 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Do not use this->

parent a4cb8dcc
......@@ -372,8 +372,8 @@ RegularAreaRect * TextPage::textArea ( TextSelection * sel) const
}
}
#else
double scaleX = this->d->m_page->m_page->width();
double scaleY = this->d->m_page->m_page->height();
double scaleX = d->m_page->m_page->width();
double scaleY = d->m_page->m_page->height();
NormalizedPoint startC = sel->start();
NormalizedPoint endC = sel->end();
......@@ -1111,7 +1111,7 @@ void TextPagePrivate::removeSpace()
{
// create new Entity, otherwise there might be possible memory leakage
m_spaces.append( new TinyTextEntity( (*it)->text(),(*it)->area ) );
this->m_words.erase(it);
m_words.erase(it);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment