on document closing, clear the fifo with allocated text pages
commit5e12488a0d533be15f68dcfb90e0e1ad24d30ec3
authorpino <pino@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sun, 8 Feb 2009 01:32:49 +0000 (8 01:32 +0000)
committerpino <pino@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sun, 8 Feb 2009 01:32:49 +0000 (8 01:32 +0000)
tree5d268075af7fe9071226985b04ea9aae58c86013
parentefde8661ecb3df4b7888fe1a7d8f593a1b5f4ddd
on document closing, clear the fifo with allocated text pages
(fixes potential crash because of references to potentially non-existing pages in the next open document)

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics@923020 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
okular/core/document.cpp