- open the temporary file name only after any option is set to it (fix crash when...
commit267e721306a001e17553bd43e0bbdee8b2415dd8
authorpino <pino@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sat, 20 Dec 2008 12:25:42 +0000 (20 12:25 +0000)
committerpino <pino@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sat, 20 Dec 2008 12:25:42 +0000 (20 12:25 +0000)
treeea10ae4da83486f6501db205060927d73ddbfb0a
parent47deddca9727abb89eb83c9ac8a313bd0c1c51cc
- open the temporary file name only after any option is set to it (fix crash when asking to print to pdf)
- close the file before sending it for printing, so we can be sure it is written as a whole

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics@899239 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
okular/generators/spectre/generator_ghostview.cpp