diff options
author | Fabio D'Urso <fabiodurso@hotmail.it> | 2014-04-14 23:35:50 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2014-04-14 23:38:52 +0200 |
commit | 8073852c84b71257d487aa8a46e441aa82f4b42c (patch) | |
tree | c35569712f57328ff314cdc0305a034941cb3fe1 | |
parent | 1fbf98664c0879ac035a63602242a910c0c1d316 (diff) |
qt: Fix missing ! in TextAnnotation::setInplaceIntent
CID #16814
-rw-r--r-- | qt4/src/poppler-annotation.cc | 2 | ||||
-rw-r--r-- | qt5/src/poppler-annotation.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qt4/src/poppler-annotation.cc b/qt4/src/poppler-annotation.cc index 297cd86b..70a5ea2b 100644 --- a/qt4/src/poppler-annotation.cc +++ b/qt4/src/poppler-annotation.cc @@ -2062,7 +2062,7 @@ void TextAnnotation::setInplaceIntent( TextAnnotation::InplaceIntent intent ) { Q_D( TextAnnotation ); - if (d->pdfAnnot) + if (!d->pdfAnnot) { d->inplaceIntent = intent; return; diff --git a/qt5/src/poppler-annotation.cc b/qt5/src/poppler-annotation.cc index 62ccaa56..e6d331df 100644 --- a/qt5/src/poppler-annotation.cc +++ b/qt5/src/poppler-annotation.cc @@ -2049,7 +2049,7 @@ void TextAnnotation::setInplaceIntent( TextAnnotation::InplaceIntent intent ) { Q_D( TextAnnotation ); - if (d->pdfAnnot) + if (!d->pdfAnnot) { d->inplaceIntent = intent; return; |