Commit fb0acfc4 authored by Enrico Ros's avatar Enrico Ros
Browse files

little performance fix

(syncing repo before merging head in kpdf_annotations)

svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424823
parent 29c58361
...@@ -436,6 +436,8 @@ void Page::displaySlice(OutputDev *out, double hDPI, double vDPI, ...@@ -436,6 +436,8 @@ void Page::displaySlice(OutputDev *out, double hDPI, double vDPI,
} }
// draw non-link annotations // draw non-link annotations
/** FIXME - eros - 60ms @400MHz for fetching annotations each time and not
displaying them at all.. Half a Second wasted for 8 thumbnails!
annotList = new Annots(xref, annots.fetch(xref, &obj)); annotList = new Annots(xref, annots.fetch(xref, &obj));
obj.free(); obj.free();
if (annotList->getNumAnnots() > 0) { if (annotList->getNumAnnots() > 0) {
...@@ -447,7 +449,7 @@ void Page::displaySlice(OutputDev *out, double hDPI, double vDPI, ...@@ -447,7 +449,7 @@ void Page::displaySlice(OutputDev *out, double hDPI, double vDPI,
} }
out->dump(); out->dump();
} }
delete annotList; delete annotList; **/
delete gfx; delete gfx;
#endif #endif
......
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