mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
We never use m_spaces, so kill it
This commit is contained in:
parent
917482f0b7
commit
8286aac4db
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue