temporarly disable the attachment size detection, as it breaks with poppler 0.6rc1

will be reactivated after the release of poppler 0.6

svn path=/trunk/KDE/kdegraphics/okular/; revision=693750
This commit is contained in:
Pino Toscano 2007-07-28 22:05:16 +00:00
parent e3e439e69c
commit 459192d34f

View file

@ -74,8 +74,14 @@ class PDFEmbeddedFile : public Okular::EmbeddedFile
#ifndef HAVE_POPPLER_0_6
return -1;
#else
// temporarly disabled until 0.6 final, as the EmbeddedFile::size() was added
// after the 0.6rc1
#if 0
int s = ef->size();
return s <= 0 ? -1 : s;
#else
return -1;
#endif
#endif
}