We never use m_spaces, so kill it

This commit is contained in:
Albert Astals Cid 2011-08-23 15:39:06 +02:00
parent 917482f0b7
commit 8286aac4db
2 changed files with 0 additions and 3 deletions

View file

@ -1096,8 +1096,6 @@ void TextPagePrivate::removeSpace()
{
if((*it)->text() == str)
{
// create new Entity, otherwise there might be possible memory leakage
m_spaces.append( new TinyTextEntity( (*it)->text(),(*it)->area ) );
delete *it;
it = m_words.erase(it);
}

View file

@ -108,7 +108,6 @@ class TextPagePrivate
// variables those can be accessed directly from TextPage
QMap<int, RegionText> m_word_chars_map;
RegionTextList m_XY_cut_tree;
TextList m_spaces;
TextList m_words;
QMap< int, SearchPoint* > m_searchPoints;
PagePrivate *m_page;