summaryrefslogtreecommitdiff
path: root/qt4
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2011-03-01 16:07:34 +0100
committerPino Toscano <pino@kde.org>2011-03-01 16:07:34 +0100
commit535e48ab764ee4e377451ddd032044b51b842c4a (patch)
tree29a0f15d90ec2455b946baf0c647d7ee5bd9b018 /qt4
parentf0e5c36e7f1c5d0f0f51e3a6a6acd6c423f86df7 (diff)
[qt4] ignore "Widget" annotations
they usually are forms or something else we do not support, so do not complain about them for now
Diffstat (limited to 'qt4')
-rw-r--r--qt4/src/poppler-page.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc
index 3ca8c075..16e2621e 100644
--- a/qt4/src/poppler-page.cc
+++ b/qt4/src/poppler-page.cc
@@ -977,6 +977,9 @@ QList<Annotation*> Page::annotations() const
// special case for ignoring unknwon annotations
case Annot::typeUnknown:
continue;
+ // handled as forms or some other way
+ case Annot::typeWidget:
+ continue;
default:
{
#define CASE_FOR_TYPE( thetype ) \
@@ -986,7 +989,6 @@ QList<Annotation*> Page::annotations() const
QByteArray type;
switch ( subType )
{
- CASE_FOR_TYPE( Widget )
CASE_FOR_TYPE( Screen )
CASE_FOR_TYPE( PrinterMark )
CASE_FOR_TYPE( TrapNet )